Was a problem with the host file (/etc/hosts). Need to remove entries relating to 127.0.1.1 COMPNAME - just put a hash (#) in front of this line and then restart all hadoop and hbase services.
or this
your hosts file should look like this
This file can be found in /etc/hosts
or this
your hosts file should look like this
#127.0.0.1 localhost
#127.0.1.1 ubuntu.ubuntu-domain ubuntu
192.168.2.100 ubuntu
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
This file can be found in /etc/hosts
本文提供了解决主机文件中与127.0.1.1相关问题的步骤,包括如何在主机文件中添加注释并重启Hadoop和HBase服务。
912

被折叠的 条评论
为什么被折叠?



