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

Appending to a partial chunk incorrectly assumes the first packet fills up the partial chunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • None
    • None
    • Reviewed

    Description

      When I run TestClientProtocolForPipelineRecovery, I always see that the block receiver throws IOException complaining about mismatched checksum when receiving the last data packet. It turns out the checksum of last packet was unexpectedly set to be zero.

      Attachments

        1. appendToPartialChunk.patch
          14 kB
          Hairong Kuang
        2. appendToPartialChunk1.patch
          20 kB
          Hairong Kuang

        Issue Links

          Activity

            People

              hairong Hairong Kuang
              hairong Hairong Kuang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: