Support Questions
Find answers, ask questions, and share your expertise

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

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.