hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3259) NameNode#initializeSharedEdits should populate shared edits dir with edit log segments
Date Thu, 12 Apr 2012 09:21:18 GMT

     [ https://issues.apache.org/jira/browse/HDFS-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aaron T. Myers updated HDFS-3259:
---------------------------------

    Attachment: HDFS-3259.patch

Here's a patch which addresses the issue. Using `hdfs namenode -initializeSharedEdits' now
loads the fsimage/edits files, triggers log recovery, and then copies the log files into the
shared edits directory.
                
> NameNode#initializeSharedEdits should populate shared edits dir with edit log segments
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-3259
>                 URL: https://issues.apache.org/jira/browse/HDFS-3259
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ha, name-node
>    Affects Versions: 2.0.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-3259.patch
>
>
> Currently initializeSharedEdits formats the shared dir so that subsequent edit log segments
will be written there. However, it would be nice to automatically populate this dir with edit
log segments with transactions going back to the last fsimage.

--
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

        

Mime
View raw message