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

DataXceiver and BlockReader disagree on when to send/recv CHECKSUM_OK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.22.0, 0.23.0
    • datanode
    • None
    • 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-rebased.patch
          9 kB
          bc Wong
        2. HDFS-1001-6.patch
          17 kB
          Eli Collins
        3. HDFS-1001-5.patch
          17 kB
          Eli Collins
        4. HDFS-1001-4.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-2.patch
          17 kB
          bc Wong
        8. HDFS-1001.patch.1
          9 kB
          bc Wong
        9. HDFS-1001.patch
          9 kB
          bc Wong

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: