Hadoop UI只显示一个Datanode [英] Hadoop UI shows only one Datanode

查看:496
本文介绍了Hadoop UI只显示一个Datanode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



配置似乎很好:





问题是,在卡 Datanodes 中只能看到一个datanode。



解决方案

幸运的是,我解决了同样的问题它。我想这是由'loaclhost'造成的。


  1. 在/ etc / host中为这些IP配置不同的名称
  2. 请记住重新启动所有机器,事情会顺利的。


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 -report

When I enter NameNode UI (http://10.20.0.140:50070/) Overview card seems ok - for example total Capacity of all Nodes sumes up.

The problem is that in the card Datanodes I see only one datanode.

解决方案

I came across the same problem fortunately i solved it. I guess it cause by 'loaclhost'.

  1. Config different name for these IP in /etc/host
  2. Remember to restart all the machines, things will go well.

这篇关于Hadoop UI只显示一个Datanode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆