Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Re: Recover dfs/name


Copy link to this message
-
Re: Recover dfs/name
Hi Han,

HDFS metadata cannot be fully reconstructed by datanode report.

If you have deployed a checkpoint node/secondary namenode, you can copy the
metadata to namenode and restart. This could recover most of the metadata.
On Wed, Jun 5, 2013 at 5:30 PM, Han JU <[EMAIL PROTECTED]> wrote:

> Hi,
>
> The folder /tmp/hadoop-user/dfs/name is accidentally deleted by a
> colleague (along with all other things in this directory), is there any
> means to recover this directory?
> I know the directory where dfs is located in every datanode. Can I
> reconstruct the deleted files without formatting the hdfs?
>
> Thanks!
>
> --
> *JU Han*
>
> Software Engineer Intern @ KXEN Inc.
> UTC   -  Université de Technologie de Compiègne
> *     **GI06 - Fouille de Données et Décisionnel*
>
> +33 0619608888
>

--
Regards,
Ted Xu
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB