This may occur when HDFS and yarn services are turned on, and when HDFS and yarn services are turned off using scripts, the
solution may also occur
Add the following parameters to the top of start-dfs.sh and stop-dfs.sh (in SBIN of Hadoop installation directory)
HDFS_DATANODE_USER=root
HADOOP_SECURE_DN_USER=hdfs
HDFS_NAMENODE_USER=root
HDFS_SECONDARYNAMENODE_USER=root
Add the following parameters to the top of start-yarn.sh and stop-yarn.sh (in SBIN of Hadoop installation directory)
YARN_RESOURCEMANAGER_USER=root
HADOOP_SECURE_DN_USER=yarn
YARN_NODEMANAGER_USER=root
Successfully solved the problem
Read More:
- Error: attempting to operate on HDFS namenode as root
- Error in initializing namenode when configuring Hadoop!!!
- Ambari failed to monitor yarn ResourceManager, restart invalid
- Ranger yarn plug-in installation
- Fatal error: Please read “Security” section of the manual to find out how to run mysqld as root!
- Solve the problem of multiple root tags in as
- Linux Mint installs Hadoop environment
- mkdir: Call From hadoop102/192.168.6.102 to hadoop102:8020 failed on connection exception: java.net.
- Common problems of Hadoop startup error reporting
- Hadoop datanode using JPS to view the solution that can’t be started
- A solution to the problem that the number of nodes does not increase and the name of nodes is unstable after adding nodes dynamically in Hadoop cluster
- Solutions to yarn install error reporting
- make modules_ Install compiles the kernel driver as a module, and the location of. Ko file in the root file
- ERROR: Invalid HADOOP_COMMON_HOME
- As Error:Failed to find configured root that contains /storage/emulated/0/xxx/xxx/xxx.png
- Create Vue cli project and report error command failed: Yarn
- Introduction of Hadoop HDFS and the use of basic client commands
- Error command failed when creating vue-cli4 project: Yarn
- Summary of Hadoop error handling methods
- The list command in HBase shell reported an error org.apache.hadoop . hbase.PleaseHoldException : Master is initializing