Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2521

Remove custom checksum headers from data transfer protocol

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: datanode, hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Target Version/s:

      Description

      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)
      1. hdfs-2521.txt
        121 kB
        Todd Lipcon
      2. hdfs-2521.txt
        121 kB
        Todd Lipcon
      3. hdfs-2521-on-2512.txt
        123 kB
        Todd Lipcon

        Issue Links

          Activity

            People

            • Assignee:
              Todd Lipcon
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development