Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to Recover Accidentally deleted file (with -skipTrash) in HDFS ?

How to Recover Accidentally deleted file (with -skipTrash) in HDFS ?

Explorer

Hi Team,

Following is recommendable. Can we try this in production? will this cause any problem to the existing metadata. Recover Accidentally deleted file please suggest

1 REPLY 1
Highlighted

Re: How to Recover Accidentally deleted file (with -skipTrash) in HDFS ?

Cloudera Employee
@suresh krish

As the referred article too suggests, if you were to attempt recovering accidentally deleted files in Production cluster's HDFS, then it is recommended to immediately stop all the DataNodes in the cluster and seek support's help to go through the process.

When it is about recovering production data, it is very important that one has very clear understanding of the recovery procedure, knows all the precautions and checks to be taken care of and is confident on how to proceed if any of the steps fail.

Don't have an account?
Coming from Hortonworks? Activate your account here