[
https://issues.apache.org/jira/browse/HDFS-5227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chuan Liu updated HDFS-5227:
----------------------------
Attachment: HDFS-5227-trunk.patch
Attach a patch.
> Namenode.getAddress() should return namenode rpc-address
> --------------------------------------------------------
>
> Key: HDFS-5227
> URL: https://issues.apache.org/jira/browse/HDFS-5227
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0, 2.1.1-beta
> Reporter: Chuan Liu
> Assignee: Chuan Liu
> Attachments: HDFS-5227-trunk.patch
>
>
> Currently, {{Namenode.getAddress(Configuration conf)}} will return default
> file system address as its result. The correct behavior should be returning
> config value of "dfs.namenode.rpc-address" if it presents in the
> configurations. Otherwise namenode will fail to start if the default file
> system is configured to another file system other than the one running in the
> cluster. We have a similar issue in 1.0 code base. The JIRA is HDFS-4320. The
> previous JIRA is closed and we cannot open it. Thus create a new one to track
> the issue in trunk.
--
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