hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3573) Supply NamespaceInfo when instantiating JournalManagers
Date Fri, 29 Jun 2012 00:15:44 GMT

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

Aaron T. Myers commented on HDFS-3573:
--------------------------------------

One tiny nit, this can all reasonably be on one line:

{code}
+  private static final String DUMMY_URI =
+      "dummy://test";
{code}

+1 once this is addressed.
                
> Supply NamespaceInfo when instantiating JournalManagers
> -------------------------------------------------------
>
>                 Key: HDFS-3573
>                 URL: https://issues.apache.org/jira/browse/HDFS-3573
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>    Affects Versions: 3.0.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-3573.txt, hdfs-3573.txt, hdfs-3573.txt
>
>
> Currently, the JournalManagers are instantiated before the NamespaceInfo is loaded from
local storage directories. This is problematic since the JM may want to verify that the storage
info associated with the journal matches the NN which is starting up (eg to prevent an operator
accidentally configuring two clusters against the same remote journal storage). This JIRA
rejiggers the initialization sequence so that the JMs receive NamespaceInfo as a constructor
argument.

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