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,180 points
140 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,220 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,150 points
2,113 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,910 points
422 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,910 points
657 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,480 points
878 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,480 points
986 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
7,437 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,216 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,220 points
8,079 views