hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brahma Reddy Battula <brahmareddy.batt...@huawei.com>
Subject RE: Cannot obtain block length for LocatedBlock
Date Tue, 26 May 2015 08:12:56 GMT

Can you try like following..?

hdfs fsck -openforwrite -files -blocks -locations / | grep blk_1109280129_1099547327549

Thanks & Regards

 Brahma Reddy Battula

From: Adnan Karač [adnankarac@gmail.com]
Sent: Tuesday, May 26, 2015 1:34 PM
To: user@hadoop.apache.org
Subject: Cannot obtain block length for LocatedBlock

Hi all,

I have an MR job running and exiting with following exception.

java.io.IOException: Cannot obtain block length for LocatedBlock
{BP-1632531813-; getBlockSize()=139397;
corrupt=false; offset=0; locs=[<>,<>,<>]}

Now, the fun part is that i don't know which file is in question. In order to find this out,
i did this:

hdfs fsck -files -blocks  / | grep blk_1109280129_1099547327549

Interestingly enough, it came up with nothing.

Did anyone experience anything similar? Or does anyone have a piece of advice on how to resolve

Version of hadoop is 2.3.0

Thanks in advance!

Adnan Karač
View raw message