You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2009/06/19 02:15:07 UTC
[jira] Commented: (HADOOP-6047) Code Refactoring: separate codes
which implement DataTransferProtocol
[ https://issues.apache.org/jira/browse/HADOOP-6047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721575#action_12721575 ]
Suresh Srinivas commented on HADOOP-6047:
-----------------------------------------
# It would be good to move all the code from DataXceiver.run() that reads operations and the switch statement to DataTransferProtocol.Receiver and just call right opXXX() method implemented by subclasses
# DataTransferProtocol.opBlockCheckSum() calls opCopyBlock() instead of opBlockCheckSum()
> Code Refactoring: separate codes which implement DataTransferProtocol
> ---------------------------------------------------------------------
>
> Key: HADOOP-6047
> URL: https://issues.apache.org/jira/browse/HADOOP-6047
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: 6047_20090618.patch
>
>
> Codes implementing DataTransferProtocol are separated in DataNode, DFSClient, etc. Also, DataTransferProtocol only define constants but not methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.