You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2011/03/25 06:05:05 UTC
[jira] [Created] (HDFS-1785) Cleanup BlockReceiver and DataXceiver
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
{{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