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 in Big Data Hadoop by akhtar
• 24,570 points
203 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 by MD
• 55,020 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,030 points
1,138 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
263 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
• 10,950 points
5,834 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
872 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
36,666 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 in Big Data Hadoop by MD
• 55,020 points
159 views