In the sbin directory under the hadoop installation directory, respectively modify /start-dfs.sh /stop-dfs.sh /start-yarn.sh /stop-yarn.shThe content of the modified file should be added in the file #!/usr/bin/env bash
/start-dfs.sh /stop-dfs.sh Modified content (HADOOP_SECURE_DN_USER is replaced by HADOOP_SECURE_DN_USER.) above hadoop 3.2 version.)
HDFS_DATANODE_USER=root
HADOOP_SECURE_DN_USER=hdfs
HDFS_NAMENODE_USER=root
HDFS_SECONDARYNAMENODE_USER=root
/start-yarn.sh /stop-yarn.sh Modify content
YARN_RESOURCEMANAGER_USER=root
HADOOP_SECURE_DN_USER=yarn
YARN_NODEMANAGER_USER=root
Read More:
- [Solved] ERROR: Attempting to operate on hdfs namenode as root ERROR: but there is no HDFS_NAMENODE_USER defi
- [Solved] ERROR: Attempting to operate on hdfs journalnode as rootERROR: but there is no HDFS_JOURNALNODE_USE
- [Solved] Hadoop Error: Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
- Hive Statement Error During Execution: Error while processing statement: FAILED: Execution Error, return code 2 from o
- [ERROR] Terminal initialization failed; falling back to unsupported java.lang.IncompatibleClassChang
- [Solved] Hadoop Start NameNode Error: ERROR: Cannot set priority of namenode process 2639
- [Solved] Exception in thread “main“ org.apache.spark.SparkException: When running with master ‘yarn‘ either
- ERROR server.datanode.DataNode: BlockSender.sendChunks() exception [How to Solve]
- NPM install Error cb.apply is not a function
- wind System Black Windows Start hadoop Error [How to Solve]
- [Solved] Hive Error while processing statement: FAILED: Execution Error
- Spark-shell startup error: Yarn application has already ended! It might have been killed or unable to launch application master
- [Solved] electron Install Error: RequestError: read ECONNRESET
- [Solved] Yarn install Error: “error Found incompatible module.”
- Error Report of Yarn Create UMI
- [Solved] yarn error ExitCodeException exitCode=127
- Doris BrokerLoad Error: No source file in this table [How to Solve]
- Yarn install error: 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: ‘install‘
- [Solved] bin/hive Startup Error: Operation category READ is not supported in state standby
- How to Solve spark Writes Files to odps Error