[
https://issues.apache.org/jira/browse/HDFS-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-1793:
------------------------------
Attachment: HDFS-1793.txt
Rebased on committed versions of 1538 and 1792.
Also changed the name FSImageCurrentStorageInspector to
FSImageTransactionalStorageInspector, since "current" is always relative.
I will be committing this version of the patch to the branch, please feel free
to reopen this JIRA or file a new one if you have any comments.
> Add code to inspect a storage directory with txid-based filenames
> -----------------------------------------------------------------
>
> Key: HDFS-1793
> URL: https://issues.apache.org/jira/browse/HDFS-1793
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: Edit log branch (HDFS-1073)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: Edit log branch (HDFS-1073)
>
> Attachments: HDFS-1793.txt, hdfs-1793.txt
>
>
> After HDFS-1538, the startup of the NN is done with the following phases:
> - Inspect storage directories
> - Formulate a "load plan", where a load plan is:
> -- A set of recovery actions (eg deleting half-uploaded checkpoint uplods)
> -- The fsimage to restore
> -- A sequence of edit logs to replay
> - Run the recovery
> - Load specified image
> - Load specified edits.
> This JIRA adds code to inspect a set of storage directories where the image
> and edits files are named according to the scheme designed in HDFS-1073, and
> formulate such a load plan.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira