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 Start NameNode Error: ERROR: Cannot set priority of namenode process 2639
- Hadoop Error: hdfs.DFSClient: Exception in createBlockOutputStream
- [Solved] Hadoop Error: ERROR: Cannot set priority of namenode process
- How to Solve Hmaster hangs up issue due to namenode switching in Ha mode
- [Solved] Kafka Restarts error | Cloudera Manager Access Returns 500 | HDFS Startup Error
- [Solved] Hadoop Error: Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
- Kettle reported an error and did not have permission to write files to HDFS
- [Solved] Hadoop root directory Cancell the quota restriction Error
- How to Solve hadoop3.x.x sh start-dfs.sh Startup Error
- wind System Black Windows Start hadoop Error [How to Solve]
- Yaml is installed, and the error YAMLLoadWarning is reported as soon as the code runs: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe.
- How to Solve Hadoop Missing Hadoop.dll and winutils.exe file error
- start-all.sh Execute error: Stopping journal nodes [slave2 slave1 master]…
- [Solved] (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- [Solved] Flink Hadoop is not in the classpath/dependencies
- [Solved] HBase Error: ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- HBase shell Find ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] Flink Error: Flink Hadoop is not in the classpath/dependencies