[
https://issues.apache.org/jira/browse/HDFS-6313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989761#comment-13989761
]
Kihwal Lee commented on HDFS-6313:
----------------------------------
In 2.4.0 it is {{DFSUtil.resolveWebHdfsUri()}}. In trunk, it is
{{WebHdfsFileSystem#resolveNNAddr()}. They all obtain NN addresses by calling
{{DFSUtil.getAddresses()}}, which gets all NN http addresses from all known
name services. If multiple name services are configured, {{WebHdfsFileSystem}}
can use a wrong NN.
> WebHdfs may use the wrong NN when configured for multiple HA NNs
> ----------------------------------------------------------------
>
> Key: HDFS-6313
> URL: https://issues.apache.org/jira/browse/HDFS-6313
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: webhdfs
> Affects Versions: 3.0.0, 2.4.0
> Reporter: Daryn Sharp
> Priority: Blocker
>
> WebHdfs resolveNNAddr will return a union of addresses for all HA configured
> NNs. The client may access the wrong NN.
--
This message was sent by Atlassian JIRA
(v6.2#6252)