IOException All datanodes are bad

0 votes

Hi Guys,

I am trying to read files from HDFS Cluster. But it is throwing the below error.

"IOException: All datanodes are bad"
Oct 15, 2020 in Big Data Hadoop by akhtar
• 38,240 points
858 views

1 answer to this question.

0 votes

Hi@akhtar,

As we know HDFS works in a distributed manner, it means all the files are uploaded in different DataNodes. But in your case, the data nodes are corrupted or in the stopped state. So you need to start the DataNodes. Otherwise, you are not able to see your files.

answered Oct 15, 2020 by MD
• 95,380 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Hadoop: “Unhealthy Node local-dirs and log-dirs are bad”

You can increase the threshold in yarn-site.xml <property> ...READ MORE

answered Nov 8, 2018 in Big Data Hadoop by Omkar
• 69,210 points
2,876 views
0 votes
1 answer

Should the region server be located on all DataNodes?

Hey, Absolute Yes, because Region server runs on ...READ MORE

answered May 22, 2019 in Big Data Hadoop by Gitika
• 65,890 points
923 views
0 votes
1 answer

Hadoop: ERROR datanode.DataNode: All directories in dfs.data.dir are invalid.

Hi, Try this, first delete all contents from ...READ MORE

answered Aug 5, 2019 in Big Data Hadoop by Gitika
• 65,890 points
969 views
+1 vote
1 answer
0 votes
1 answer

What is the command to find the free space in HDFS?

You can use dfsadmin which runs a ...READ MORE

answered Apr 29, 2018 in Big Data Hadoop by Shubham
• 13,490 points
1,386 views
0 votes
1 answer

How to find the used cache in HDFS

hdfs dfsadmin -report This command tells fs ...READ MORE

answered May 4, 2018 in Big Data Hadoop by Shubham
• 13,490 points
1,481 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
9,333 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
1,709 views
0 votes
2 answers

How can I list NameNode & DataNodes from any machine in the Hadoop cluster?

You can browse hadoop page from any ...READ MORE

answered Jan 23, 2020 in Big Data Hadoop by MD
• 95,380 points
9,585 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP