Support Questions

Find answers, ask questions, and share your expertise

Datanode denied communication with namenode because host is not in the include-list

avatar
New Contributor

Hi All,

 

I was configuring cdh on 5 nodes. I was able to setup all the services and start. These nodes run on different containers in different machines. I'm getting the following error on the HDFS from the containers which are outside the node where CM is installed.

 

Block pool BP-1483260034-10.44.4.249-1557944678285 (Datanode Uuid ee42819f-8d0d-40d9-bec6-61d3c708696a) service to hadoop07.tvcom/10.44.4.249:8022 beginning handshake with NN

 

DataNode Initialization failed for Block pool BP-1483260034-10.44.4.249-1557944678285 (Datanode Uuid      ee42819f-8d0d-40d9-bec6-61d3c708696a) service to hadoop07.tv.com/10.44.4.249:8022 Datanode denied communication with namenode because the host is not in the include-list: DatanodeRegistration(10.44.4.1:9866, datanodeUuid=ee42819f-8d0d-40d9-bec6-61d3c708696a, infoPort=9864, infoSecurePort=0, ipcPort=9867, storageInfo=lv=-57;cid=cluster12;nsid=993167961;c=1557944678285)

 

Not sure what i missed.

 

Vishnu

2 REPLIES 2

avatar
Expert Contributor

It seems NN refuses to connect to DN, it could be DN is not there in include list file on NN or maybe DNS issue (check /etc/hosts). Can you run the below command and see if the error goes off-

hdfs dfsadmin -refreshNodes

 

Further, Check this link - https://stackoverflow.com/questions/17252955/getting-the-following-error-datanode-denied-communicati...

avatar
Super Collaborator
In CM you can also go to CM -> HDFS -> Click on active "Namenode" link -> Open "Actions" dropdown -> Select "Refresh node list"