Hadoop UI shows only one Datanode

前端 未结 7 496
刺人心
刺人心 2021-01-19 17:13

I\'ve started hadoop cluster composed of on master and 4 slave nodes.

Configuration seems ok:

hduser@ubuntu-amd64:/usr/local/hadoop$ ./bin/hdfs dfsadmin -rep

7条回答
  •  感情败类
    2021-01-19 17:27

    As @Rahul said the problem is because of the same hostname

    change your hostname in /etc/hostname file and give different hostname for each host and resolve hostname with ip address /etc/hosts file

    then restart your cluster you will see all datanodes in Datanode information tab on browser

提交回复
热议问题