[
https://issues.apache.org/jira/browse/HDFS-8609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bibin A Chundatt resolved HDFS-8609.
------------------------------------
Resolution: Invalid
Sorry my mistake . Closing the issue as invalid
> Dead Code in DFS Util for DFSUtil#substituteForWildcardAddress
> --------------------------------------------------------------
>
> Key: HDFS-8609
> URL: https://issues.apache.org/jira/browse/HDFS-8609
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Reporter: Bibin A Chundatt
> Assignee: Surendra Singh Lilhore
> Priority: Minor
>
> Dead code after JDK 1.4
> {code}
> otherHttpAddr = DFSUtil.getInfoServerWithDefaultHost(
> otherIpcAddr.getHostName(), otherNode, scheme).toURL();
> {code}
> In {{DFSUtil#substituteForWildcardAddress}}
> {code}
> if (addr != null && addr.isAnyLocalAddress()) {
> ...
> }
> {code}
> addr.isAnyLocalAddress() will always return false.
> Always the url will be formed with address which is configured in
> hdfs-site.xml .Same will affect bootStrap from NN and ssl certificate check
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)