Aaron T. Myers created HDFS-3439:
------------------------------------
Summary: Balancer exits if fs.defaultFS is set to a different, but
semantically identical, URI from dfs.namenode.rpc-address
Key: HDFS-3439
URL: https://issues.apache.org/jira/browse/HDFS-3439
Project: Hadoop HDFS
Issue Type: Bug
Components: balancer
Affects Versions: 2.0.0
Reporter: Aaron T. Myers
The balancer determines the set of NN URIs to balance by looking at
fs.defaultFS and all possible dfs.namenode.(service)rpc-address settings. If
fs.defaultFS is, for example, set to "hdfs://foo.example.com:8020/" (note the
trailing "/") and the rpc-address is set to "hdfs://foo.example.com:8020"
(without a "/"), then the balancer will conclude that there are two NNs and try
to balance both. However, since both of these URIs refer to the same actual FS
instance, the balancer will exit with "java.io.IOException: Another balancer is
running. Exiting ..."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira