Hadoop UI shows only one Datanode

前端 未结 7 663
刺人心
刺人心 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:34

    I have the same trouble because I use ip instead of hostname, [hdfs dfsadmin -report] is correct though it is only one[localhost] in UI. Finally, I solved it like this:

    
           dfs.datanode.hostname                   
           the name you want to show
    
    

    you almost can't find it in any doucument...

提交回复
热议问题