[
https://issues.apache.org/jira/browse/HDFS-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13567839#comment-13567839
]
Binglin Chang commented on HDFS-4458:
-------------------------------------
The bug is caused by:
user set fs.defaultFS, dfs.namenode.servicerpc-address all using IP
DFSUtil.getNsServiceRpcUris(conf) will automatically change ip in
dfs.namenode.servicerpc-address to hostname, but not change fs.defaultFS
so getNsServiceRpcUris will get two namenode address, but actually it's the
same.
Two balancer started and cause confits.
> start balancer failed with "Failed to create file [/system/balancer.id]" if
> configure IP on fs.defaultFS
> ---------------------------------------------------------------------------------------------------------
>
> Key: HDFS-4458
> URL: https://issues.apache.org/jira/browse/HDFS-4458
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: balancer
> Affects Versions: 2.0.2-alpha
> Reporter: wenwupeng
> Assignee: Binglin Chang
> Attachments: HDFS-4458.v2.patch
>
>
> start balancer failed with "Failed to create file [/system/balancer.id]" if
> configure IP on fs.defaultFS
> Note:
> configure fs.defaultFS with hostname can resolve this issue
> See details in the comment -
> https://issues.apache.org/jira/browse/HDFS-4458?focusedCommentId=13567802&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13567802
--
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