我正在尝试启动Hadoop。但是,Datanodes无法启动,这是start hdfs命令的输出。尽管namenode已正确启动。
Starting namenodes on
Starting datanodes
worker2: bash: line 1: /home/hadoop-master/my-hadoop-install/hadoop-3.3.4/bin/hdfs: No such file or directory
worker1: bash: line 1: /home/hadoop-master/my-hadoop-install/hadoop-3.3.4/bin/hdfs: No such file or directory
Starting secondary namenodes [hadoop-master]
1条答案
按热度按时间dgjrabp21#
hadoop二进制文件似乎不存在于worker1和worker2节点上,如果存在,请检查路径一次。转到worker1和worker2节点中的
/home/hadoop-master/my-hadoop-install/hadoop-3.3.4/bin
路径。