hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ishan chhabra <ishan.chha...@gmail.com>
Subject Recovering fsImage from Namenode Logs
Date Thu, 20 Dec 2012 06:26:13 GMT
Hi all,
I accidentally issued a rmr on my home directory, but killed the NameNode
as soon as i realized it. Currently I am in a situation where my DataNodes
have a good percentage of blocks on them, but the NameNode fsImage and
editlog don't have a mention of any file or file to block to mappings in
that directory. I also don't have any previous checkpoints of fsImage.

Fortunately, what I do have is namenode logs for the past few days that
have NameSystem changes recorded. Is there a way to reconstruct my old
fsImage from the logs so that it recognizes the blocks that are there on
the datanodes? Has anybody tried something like this before?


Ishan Chhabra

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message