- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Datanode denied communication with namenode because host is not in the include-list
- Labels:
-
Cloudera Manager
-
HDFS
Created on ‎05-15-2019 10:31 PM - edited ‎09-16-2022 07:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎02-04-2020 10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...
Created ‎02-05-2020 12:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
