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 in Big Data Hadoop by akhtar
• 33,410 points
20 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 by MD
• 79,270 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,030 points
1,687 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
• 49,580 points
226 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
• 49,580 points
503 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,450 points
670 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,450 points
754 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
• 10,950 points
6,347 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
• 10,950 points
981 views
0 votes
2 answers