[
https://issues.apache.org/jira/browse/HDFS-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-2521:
------------------------------
Attachment: hdfs-2521-on-2512.txt
Here's a patch which applies on top of HDFS-2512. The two are not necessarily
linked, but they touch the same code, so I arbitrarily sequenced them this way.
(otherwise would have to re-do one or the other)
> Remove custom checksum headers from data transfer protocol
> ----------------------------------------------------------
>
> Key: HDFS-2521
> URL: https://issues.apache.org/jira/browse/HDFS-2521
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node, hdfs client
> Affects Versions: 0.23.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hdfs-2521-on-2512.txt
>
>
> Most of the data transfer protocol has been converted over to protobufs, but
> we still send the checksum header with ad-hoc serialization in a few places.
> This is self-inconsistent and also makes wire protocol compatibility more
> difficult. This JIRA does the following:
> - introduce a new protobuf message to describe a checksum
> - include the "requested checksum" with the block operation (instead of
> coming separately after it)
> - include the "required checksum" with the block operation response, for
> write operations (instead of coming first in the BlockSender stream)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira