hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amith D K <amit...@huawei.com>
Subject RE: How to fetch the block names from fsimage/edits file?
Date Thu, 03 May 2012 10:01:08 GMT
Use
$HADOOP_HOME/bin/hdfs oiv/oie

in 0.23 and above versions


________________________________________
From: JunYong Li [lijy83@gmail.com]
Sent: Thursday, May 03, 2012 5:04 PM
To: common-user@hadoop.apache.org
Subject: Re: How to fetch the block names from fsimage/edits file?

use $HADOOP_HOME/bin/hadoop ovi

2012/5/3 Manu S <manupkd87@gmail.com>

> Hi All,
>
> Can we find out the complete block names from the fsimage we have?
>
> Scenario:
> Accidentally we had lost the hdfs data. We have the previous fsimage before
> the data loss. We have restored some data using some data recovery tools.
> The recovered files are starting with *blk_<string>*.   I read the fsimage
> using *strings *command, but that doesn't give the block name details.
>
> Thanks,
> Manu S
>



--
Regards
Junyong

Mime
View raw message