Datanode denied communication with namenode

环境: hadoop 2.6

查看日志 org.apache.hadoop.hdfs.server.protocol.DisallowedDatanodeException: Datanode denied communication with namenode

 

在hdfs-site.xml添加如下:

<property>
<name>dfs.namenode.datanode.registration.ip-hostname-check</name>
<value>false</value>
</property>

 

 

作者: hqiang1984

量化自我,极简主义