hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-1785) Cleanup BlockReceiver and DataXceiver
Date Fri, 25 Mar 2011 05:25:05 GMT

     [ https://issues.apache.org/jira/browse/HDFS-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsz Wo (Nicholas), SZE updated HDFS-1785:
-----------------------------------------

    Attachment: h1785_20110324.patch

h1785_20110324.patch: simple code cleanup

> 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
>         Attachments: h1785_20110324.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

Mime
View raw message