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

Tsz Wo (Nicholas), SZE updated HADOOP-6079:
-------------------------------------------

    Attachment: 6079_20090618.patch

6079_20090618.patch:
- serialize proxySource as DatanodeInfo only.
- change BalancerDatanode not to implement Writable since it is not used 
anywhere.

The existing TestBlockReplacement is already serializing proxySource as 
DatanodeInfo.  So, no new test is added.

> In DataTransferProtocol, the serialization of proxySource is not consistent
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-6079
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6079
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: 6079_20090618.patch
>
>
> In DataTransferProtocol.OP_REPLACE_BLOCK, proxySource is written as 
> BalancerDatanode but than the serialized value is read as a DatanodeInfo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to