Use $HADOOP_HOME/bin/hdfs oiv/oie in 0.23 and above versions
________________________________________ From: JunYong Li [[email protected]] Sent: Thursday, May 03, 2012 5:04 PM To: [email protected] Subject: Re: How to fetch the block names from fsimage/edits file? use $HADOOP_HOME/bin/hadoop ovi 2012/5/3 Manu S <[email protected]> > 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
