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

Jitendra Nath Pandey commented on HDFS-2355:
--------------------------------------------

DFSUtil.java#getNameServiceId
  - We should throw HadoopIllegalArgumentException if no match found? 
Currently, no match found and non federation cases are treated as same.

Remove a System.out.println.
                
> Federation: enable using the same configuration file across all the nodes in 
> the cluster.
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-2355
>                 URL: https://issues.apache.org/jira/browse/HDFS-2355
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>         Attachments: HDFS-2355.txt
>
>
> In federation the configuration files xml include another configuration xml. 
> This configuration xml is empty for datanodes and defines nameservice ID for 
> namenodes, secondary and backup nodes. The need for xml include can be 
> eliminated by namenodes determining the nameservice ID by matching its local 
> address with a configured address (such as namenode rpc address) and on match 
> using the nameservice ID of the corresponding configuration parameter.
> For more details about federation configuration see 
> https://issues.apache.org/jira/browse/HDFS-1689?focusedCommentId=13001749&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13001749

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