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
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