INFO hdfs DFSClient Could not obtain block blk -from any node java io IOException No live nodes contain current block

0 votes

Hi Guys,

I uploaded my file in hadoop cluster. But when I tried to read my data from client, it shows me the below error.

INFO hdfs.DFSClient: Could not obtain block blk- from any node:  
java.io.IOException: No live nodes contain current block 

How can I solve this issue?

Apr 17, 2020 in Big Data Hadoop by akhtar
• 38,210 points
741 views

1 answer to this question.

0 votes

Hi@akhtar,

I think your Datanodes are not in running state. If your Datanodes are corrupted, then it is impossible to read your file. The Namenode contains all the information about your data but Namenode is not able to extract data from Datanodes. So don't format your Namenode and try to run your Datanode.

Hope this gives you some idea.

answered Apr 17, 2020 by MD
• 95,300 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Hadoop: java.io.IOException: File could only be replicated to 0 nodes instead of minReplication (=1)

Try this, first stop all the daemons, ...READ MORE

answered Nov 6, 2018 in Big Data Hadoop by Omkar
• 69,170 points
2,090 views
0 votes
1 answer

FAILEDError: java.io.IOException: Type mismatch in key from map

This error is thrown when the parameters ...READ MORE

answered Jul 30, 2019 in Big Data Hadoop by Rishi
694 views
0 votes
1 answer
+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,893 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,328 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
62,543 views
0 votes
1 answer

java.io.IOException: File /user/hadoop/ could only be replicated to 0 nodes, instead of 1

Hi@akhtar, To avoid this error, follow the bellow ...READ MORE

answered Apr 17, 2020 in Big Data Hadoop by MD
• 95,300 points
394 views