Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

I am having a 12 datanode are running, but out of 1 is dead but in ambari alters is not showing which one is dead,

avatar
Rising Star

How to find which datanode is dead via terminal or ambari

1 ACCEPTED SOLUTION

avatar
Master Mentor

@ANSARI FAHEEM AHMED

#su - hdfs
$ hdfs dfsadmin -report -dead

View solution in original post

5 REPLIES 5

avatar
Master Mentor

@ANSARI FAHEEM AHMED

I think the below command should sort you out if you are not in a kerberized environment

#su - hdfs
$ hdfs dfsadmin -report -dead

$ hdfs dfsadmin -report -alive

The dead and alive nodes will appear

avatar
Rising Star

Thanks but still not display which one is down, any other command

avatar
Rising Star

It appear four to six node and at end

one datanode is dead (1)

details of node

---------------

---------------

avatar
Master Mentor

@ANSARI FAHEEM AHMED

#su - hdfs
$ hdfs dfsadmin -report -dead

avatar
Rising Star

Thanks a lot , find it and and solve it ?