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

DataXceiver and BlockReader disagree on when to send/recv CHECKSUM_OK

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0, 0.23.0
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Running the TestPread with additional debug statements reveals that the BlockReader sends CHECKSUM_OK when the DataXceiver doesn't expect it. Currently it doesn't matter since DataXceiver closes the connection after each op, and CHECKSUM_OK is the last thing on the wire. But if we want to cache connections, they need to agree on the exchange of CHECKSUM_OK.

        Attachments

        1. HDFS-1001.patch
          9 kB
          bc Wong
        2. HDFS-1001.patch.1
          9 kB
          bc Wong
        3. HDFS-1001-rebased.patch
          9 kB
          bc Wong
        4. HDFS-1001-2.patch
          17 kB
          bc Wong
        5. HDFS-1001-3.patch
          17 kB
          bc Wong
        6. HDFS-1001-3.patch
          17 kB
          bc Wong
        7. HDFS-1001-4.patch
          17 kB
          bc Wong
        8. HDFS-1001-5.patch
          17 kB
          Eli Collins
        9. HDFS-1001-6.patch
          17 kB
          Eli Collins

          Issue Links

            Activity

              People

              • Assignee:
                bcwalrus bc Wong
                Reporter:
                bcwalrus bc Wong
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: