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

Remove custom checksum headers from data transfer protocol

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • datanode, hdfs-client
    • None
    • 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

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: