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.

Urgent: I deleted the /user folder in hdfs by mistake, I want to get it back

Urgent: I deleted the /user folder in hdfs by mistake, I want to get it back

Explorer

Hello,

 

I deleted by mistake the /user diroctory in hdfs, I loose all my data, How can I restore this folder ?

 

 

Thanks.

1 REPLY 1

Re: Urgent: I deleted the /user folder in hdfs by mistake, I want to get it back

Contributor

Sorry nobody got back to you on this, but you can look in .Trash folder if you have trash enabled.

 

hdfs dfs -lsr /user/hdfs/.Trash/