RE: How to restore data from HDFS rm -skipTrash

2017-08-09 Thread Brahma Reddy Battula
: 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 delete

Re: How to restore data from HDFS rm -skipTrash

2017-08-04 Thread Konstantin Shvachko
with the modifies edits log. Hope this helps. Thanks, --Konstantin On Thu, Aug 3, 2017 at 8:38 PM, panfei <cnwe...@gmail.com> wrote: > -- Forwarded message -- > From: panfei <cnwe...@gmail.com> > Date: 2017-08-04 11:23 GMT+08:00 > Subject: How to restore data from HDFS

Re: How to restore data from HDFS rm -skipTrash

2017-08-04 Thread Eric Payne
m> Cc: Hdfs-dev <hdfs-dev@hadoop.apache.org> Sent: Friday, August 4, 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 fro

Re: How to restore data from HDFS rm -skipTrash

2017-08-04 Thread Wei-Chiu Chuang
and does not guarantee the blocks are still there. On Thu, Aug 3, 2017 at 8:38 PM, panfei <cnwe...@gmail.com> wrote: > -- Forwarded message -- > From: panfei <cnwe...@gmail.com> > Date: 2017-08-04 11:23 GMT+08:00 > Subject: How to restore data from HDFS rm -s

Re: Fwd: How to restore data from HDFS rm -skipTrash

2017-08-04 Thread Margus Roo
Hi Basically it deletes metadata. If you have backup from metadata you maybe can restore. Br, Margus Margus (margusja) Roo http://margus.roo.ee skype: margusja https://www.facebook.com/allan.tuuring +372 51 48 780 On 04/08/2017 06:38, panfei wrote: I want to know is there any way to stop

Fwd: How to restore data from HDFS rm -skipTrash

2017-08-03 Thread panfei
-- Forwarded message -- From: panfei <cnwe...@gmail.com> Date: 2017-08-04 11:23 GMT+08:00 Subject: How to restore data from HDFS rm -skipTrash To: CDH Users <cdh-u...@cloudera.org> some one mistakenly do a rm -skipTrash operation on the HDFS, but we stop