hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki ...@getopt.org>
Subject Re: undelete
Date Tue, 17 Jul 2007 14:45:25 GMT
Mathijs Homminga wrote:
> Oops...
> 
> I executed the following command:
> 
> ./hadoop dfs -rmr .
> 
> Everything on the DFS, including the trash seems to be deleted. Is there 
> a way to recover my data?

Depending which version of Hadoop you are running ... In 0.12.x it would 
be enough to kill -9 the NameNode ASAP, and remove this deletion 
operation from the editlog, before it gets re-integrated with fsimage.

DO MAKE A BACKUP OF THESE FILES FIRST !!!

-- 
Best regards,
Andrzej Bialecki     <><
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


Mime
View raw message