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

Tsz Wo (Nicholas), SZE commented on HDFS-1785:
----------------------------------------------

I forgot to say that the test failures are not related to this.

See HDFS-1786 for TestHDFSCLI and TestDFSShell.

> Cleanup BlockReceiver and DataXceiver
> -------------------------------------
>
>                 Key: HDFS-1785
>                 URL: https://issues.apache.org/jira/browse/HDFS-1785
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.23.0
>
>         Attachments: h1785_20110324.patch, h1785_20110325.patch
>
>
> {{clientName.length()}} is used multiple times for determining whether the 
> source is a client or a datanode.
> {code}
> if (clientName.length() == 0) {
> //it is a datanode
> }
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to