-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.8.0, 3.0.0-alpha1
-
Component/s: balancer & mover
-
Labels:None
-
Hadoop Flags:Reviewed
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 Casey Brotherton for reporting the issue.