1.
取消hadoop hdfs的用户权限检查。打开conf/hdfs-site.xml,找到dfs.permissions属性修改为false(默认为true)OK了
<property>
<name>dfs.permissions</name>
<value>false</value>
</property>
2.
方法1:/etc/hosts里的127.0.0.1修改为实际的IP地址(这种方法可能会导致有些应用不能用,不推荐)
方法2:先在/etc/hosts里添加一行,然后修改/etc/sysconfig/network文件里面的HOSTNAME
如你的hosts文件原来内容
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
机器的实际IP为10.1.60.121,则可以添加以下内容
10.1.60.14 test localhost
然后修改/etc/sysconfig/network文件的HOSTNAME=test,则可以访问成功。
hadoop集群报错 Call From master/123.59.200.170 to localhosts:41778 failed on connection exception
原文:https://www.cnblogs.com/grow1016/p/10702275.html