1. 程式人生 > >WARNING: HADOOP_SECURE_DN_USER has been replaced b

WARNING: HADOOP_SECURE_DN_USER has been replaced b

nod bee hdfs -c repl warn datanode col ace

這個問題可能是我第一個遇到吧,hadoop啟動時WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.錯誤。


解決方案,在$ vim sbin/start-dfs.sh $ vim sbin/stop-dfs.sh 將

HDFS_DATANODE_USER=root  
HADOOP_SECURE_DN_USER=hdfs  
HDFS_NAMENODE_USER=root  
HDFS_SECONDARYNAMENODE_USER=root

改成

HDFS_DATANODE_USER=root  
HDFS_DATANODE_SECURE_USER=hdfs  
HDFS_NAMENODE_USER=root  
HDFS_SECONDARYNAMENODE_USER=root


WARNING: HADOOP_SECURE_DN_USER has been replaced b