[ 
https://issues.apache.org/jira/browse/HDFS-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213932#comment-13213932
 ] 

Eli Collins commented on HDFS-2971:
-----------------------------------

Suresh,

The highest gen stamp in an image or log tells you if it's older than another 
file system. You don't want to update to saved image/logs that are old as that 
can cause data loss (you start the NN and it starts removing blocks with a new 
GS). 

Thanks,
Eli
                
> some improvements to the manual NN metadata recovery tools
> ----------------------------------------------------------
>
>                 Key: HDFS-2971
>                 URL: https://issues.apache.org/jira/browse/HDFS-2971
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: libhdfs
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: 2012-02-17_0001-OEV-enhancements-pt.-2.patch, 
> HDFS-2971__print_highest_generation_stamp.txt
>
>
> Some improvements to the manual NN metadata recovery tools.
> Specifically, we want the Offline Edit Viewer (oev) tool to prints out the 
> highest generation stamp that was encountered when processing the edit log.
> We also want OEV to look for large gaps in the generation stamp, as these can 
> indicate corruption.  The minimum gap to look for should be configurable with 
> -G or --genStampGap.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to