[
https://issues.apache.org/jira/browse/HDFS-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763721#comment-13763721
]
Jing Zhao commented on HDFS-5122:
---------------------------------
bq. to handle the possibility that the first namenode isn't the currently
active one
I think that's what Haohui's comment "Putting the work of automatically
switching to" means here. So we may have some bad scenarios such as 1) the
first listed namenode is not active right now, and 2) the NN failover is
happening thus the previous active NN becomes standby, and 3) the active NN
keeps changing in a short period of time.. Thus what we need here is the same
logic with RetryInvocationHandler.
> 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