Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1345

Checksum object does not get restored to the old state in retries when handle ChecksumException

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.12.3
    • 0.13.0
    • None
    • None

    Description

      In ChecksumFile.FSInputChecker, when a ChecksumException occurs, it tries to recover from the error by reading a different replica. However, the current code does not restore the Checksum object's old state. This causes a read not able to recover from ChecksumException although there are non-corrupted replicas available if the read follows a seek to a position which is not at the checksum chunk boundary .

      Attachments

        1. checksum.patch
          2 kB
          Hairong Kuang
        2. checksum.patch
          0.9 kB
          Hairong Kuang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment