Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-553

BlockSender reports wrong failed position in ChecksumException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      BlockSender sets a wrong position in ChecksumException that indicates the offset where crc mismatch occurs.

        Activity

        Hide
        Hairong Kuang added a comment -

        A patch for review.

        Show
        Hairong Kuang added a comment - A patch for review.
        Hide
        Raghu Angadi added a comment -

        +1.

        Show
        Raghu Angadi added a comment - +1.
        Hide
        Hairong Kuang added a comment -

        The patch passed all unit tests.

        It's too trivial to add a unit test.

        Show
        Hairong Kuang added a comment - The patch passed all unit tests. It's too trivial to add a unit test.
        Hide
        Hairong Kuang added a comment -

        I've just committed this.

        Show
        Hairong Kuang added a comment - I've just committed this.
        Hide
        dhruba borthakur added a comment -

        I propose that we backport this to 0.20? This is a very simple and row risk fix and helps applications that depend on the correct offset being recorded inside Checksumexception. If folks agree, then I will pull this into 0.20 as well.

        Show
        dhruba borthakur added a comment - I propose that we backport this to 0.20? This is a very simple and row risk fix and helps applications that depend on the correct offset being recorded inside Checksumexception. If folks agree, then I will pull this into 0.20 as well.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #65 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/65/)

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #65 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/65/ )

          People

          • Assignee:
            Hairong Kuang
            Reporter:
            Hairong Kuang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development