Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2521

Remove custom checksum headers from data transfer protocol

    Details

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

      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)

        Attachments

        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:
                tlipcon Todd Lipcon
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: