Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error Failed to find datanode, suggest to check cluster health. excludeDatanodes=null

Highlighted

Error Failed to find datanode, suggest to check cluster health. excludeDatanodes=null

New Contributor

Hello,

Im getting error

resource_management.libraries.providers.hdfs_resource.WebHDFSCallException: Execution of 'curl -sS -L -w '%{http_code}' -X PUT --data-binary @/var/lib/ambari-agent/tmp/hdfs-service-check -H 'Content-Type: application/octet-stream' --negotiate -u : 'http://ubuntu.hadoop.com:50070/webhdfs/v1/tmp/id007f0101_date290419?op=CREATE&overwrite=True'' returned status_code=403.

{
	


"RemoteException": {
	


"exception": "IOException",

"javaClassName": "java.io.IOException",

"message": "Failed to find datanode, suggest to check cluster health. excludeDatanodes=null"

}

}

when i run hdfs service check and the datanode is not appear in the hdfs dfsadmin -report

hdfs@ubuntu:~$ hdfs dfsadmin -report

Configured Capacity: 0 (0 B)

Present Capacity: 0 (0 B)

DFS Remaining: 0 (0 B)

DFS Used: 0 (0 B)

DFS Used%: 0.00%

Replicated Blocks:

Under replicated blocks: 0

Blocks with corrupt replicas: 0

Missing blocks: 0

Missing blocks (with replication factor 1): 0

Low redundancy blocks with highest priority to recover: 0

Pending deletion blocks: 0

Erasure Coded Block Groups:

Low redundancy block groups: 0

Block groups with corrupt internal blocks: 0

Missing block groups: 0

Low redundancy blocks with highest priority to recover: 0

Pending deletion blocks: 0


I have disabled ipv6 and this is my etc/hosts file


127.0.0.1 localhost

127.0.1.1 ubuntu.hadoop.com


# 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

attached is my hdfs-site.xml and core-site.xml

could anyone help me fix this error

please let me know if you need more infomation

hdfs dfsadmin -report.txt

etc_hosts.txt

hdfs-site.xml.txt

core-site.xml.txt

Don't have an account?
Coming from Hortonworks? Activate your account here