Hadoop问题(一)--集群群起报waring以及无法启动:
1, ERROR: Attempting to operate on hdfs namenode as root
ERROR: but there is no HDFS_NAMENODE_USER defined. Aborting operation.
Starting datanodes
上一次登录:三 12月 8 16:23:14 CST 2021pts/0 上
hadoop1000: datanode is running as process 5514. Stop it first.
Starting secondary namenodes [hadoop1002]
ERROR: Attempting to operate on hdfs secondarynamenode as root
ERROR: but there is no HDFS_SECONDARYNAMENODE_USER defined. Aborting operation.
这个问题主要是因为