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

Hudson commented on HDFS-3013:
------------------------------

Integrated in Hadoop-Hdfs-HAbranch-build #91 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-HAbranch-build/91/])
    HDFS-3013. HA: NameNode format doesn't pick up 
dfs.namenode.name.dir.NameServiceId configuration. Contributed by Mingjie Lai. 
(Revision 1294425)

     Result = UNSTABLE
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294425
Files : 
* 
/hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt
* 
/hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
* 
/hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestValidateConfigurationSettings.java

                
> HA: NameNode format doesn't pick up dfs.namenode.name.dir.NameServiceId 
> configure
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-3013
>                 URL: https://issues.apache.org/jira/browse/HDFS-3013
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Mingjie Lai
>            Assignee: Mingjie Lai
>             Fix For: HA branch (HDFS-1623)
>
>         Attachments: HDFS-3013.patch
>
>
> One problem I observed at HA branch is that namenode -format doesn't pick up 
> the right configured dfs.namenode.name.dir.NameServiceId. In this case, 
> ``namenode -format'' will format the default directory instead of the 
> configured one, while namenode will use the correct one. 
> The root cause is that NameNode.initializeGenericKeys() is only invoked at 
> the NameNode constructor. So it doesn't get called by static methods like 
> format and finalize. 

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