Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
In Balancer Dispatch.java:
private void dispatch() { LOG.info("Start moving " + this); Socket sock = new Socket(); DataOutputStream out = null; DataInputStream in = null; try { sock.connect( NetUtils.createSocketAddr(target.getDatanodeInfo().getXferAddr()), HdfsConstants.READ_TIMEOUT);
getXferAddr() is called without taking into consideration of dfs.client.use.datanode.hostname setting, this would possibly fail balancer run issued from outside a cluster.
Thanks caseyjbrotherton for reporting the issue.