[ https://issues.apache.org/jira/browse/HDFS-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763756#comment-13763756 ]
Andrew Wang commented on HDFS-5122: ----------------------------------- I agree with Phil, this patch isn't very useful as-is if it can't handle the first namenode being down. Since we're going to need this in very short order, can we just roll-up HDFS-5181 into this JIRA? > WebHDFS should support logical service names in URIs > ---------------------------------------------------- > > Key: HDFS-5122 > URL: https://issues.apache.org/jira/browse/HDFS-5122 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha, webhdfs > Affects Versions: 2.1.0-beta > Reporter: Arpit Gupta > Assignee: Haohui Mai > Attachments: HDFS-5122.patch > > > For example if the dfs.nameservices is set to arpit > {code} > hdfs dfs -ls webhdfs://arpit:50070/tmp > or > hdfs dfs -ls webhdfs://arpit/tmp > {code} > does not work > You have to provide the exact active namenode hostname. On an HA cluster > using dfs client one should not need to provide the active nn hostname -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira