澍梵丶 发表于 2021-12-23 22:21

hadoop启动报错

hadoop启动总是报错。
免密什么都是配置了,但还是报错。
以下为报错内容:
# stop-dfs.sh
WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
Stopping namenodes on
Last login: Thu Dec 23 22:03:12 CST 2021 on pts/4
WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
node1: WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
Stopping datanodes
Last login: Thu Dec 23 22:05:28 CST 2021 on pts/4
WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
node1: WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
node3: WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
node2: WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
Stopping secondary namenodes
Last login: Thu Dec 23 22:05:29 CST 2021 on pts/4
WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
node1: WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.

神马还在浮云里 发表于 2021-12-24 08:24

我也是小白,不过看你这情况是不是hdfs-site.xml文件的问题,建议你百度下这个文件的配置

njbb888 发表于 2021-12-24 08:56

stop-dfs.sh 是关闭脚本,显示的只是一些参数有新的替换了,并没有ERROR。

javazjl 发表于 2021-12-24 08:57

HADOOP_SECURE_DN_USER 替换为 HDFS_DATANODE_SECURE_USER
警告日志上面写着了

chengxuyuan01 发表于 2021-12-24 10:01

WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
搜一下这个问题,应该是这个配置有问题,你查下
页: [1]
查看完整版本: hadoop启动报错