[ 
https://issues.apache.org/jira/browse/HDFS-9100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934542#comment-14934542
 ] 

Hadoop QA commented on HDFS-9100:
---------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  0s | The patch command could not apply 
the patch during dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12764163/HDFS-9100.002.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 151fca5 |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/12727/console |


This message was automatically generated.

> HDFS Balancer does not respect dfs.client.use.datanode.hostname
> ---------------------------------------------------------------
>
>                 Key: HDFS-9100
>                 URL: https://issues.apache.org/jira/browse/HDFS-9100
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: balancer & mover, HDFS
>            Reporter: Yongjun Zhang
>            Assignee: Casey Brotherton
>         Attachments: HDFS-9100.000.patch, HDFS-9100.001.patch, 
> HDFS-9100.002.patch
>
>
> In Balancer Dispatch.java:
> {code}
>    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);
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to