: hdfs-dev@hadoop.apache.org
Subject: Re: How to restore data from HDFS rm -skipTrash
If you stopped the cluster immediately you may have a chance to restore most of
the data.
It's a manual and hacky process.
You can use the Offline Edits Viewer to see the latest edits and cut off the
d
If you stopped the cluster immediately you may have a chance to restore
most of the data.
It's a manual and hacky process.
You can use the Offline Edits Viewer to see the latest edits and cut off
the delete transactions that was issues by mistake.
Then you can restart the namenode with the modifies
2017 7:57 AM
Subject: Re: How to restore data from HDFS rm -skipTrash
If the directory has snapshot enabled, the file can be retrieved from the
past snapshots.
Otherwise, the file inodes are removed from namenode metadata, and blocks
are scheduled for deletion.
You might want to play with edit log
If the directory has snapshot enabled, the file can be retrieved from the
past snapshots.
Otherwise, the file inodes are removed from namenode metadata, and blocks
are scheduled for deletion.
You might want to play with edit log a bit. Remove the delete entries from
edit logs. But it's hacky and d