Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2173

Race condition in TestBlockFixer causes intermittent failure

    Details

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

      Description

      TestBlockFixer sometimes fails in reportCorruptBlocks because a corrupt block is deleted before in.readFully is called. This causes a BlockMissingException instead of the expected ChecksumException.

      1. MAPREDUCE-2173.patch
        0.6 kB
        Patrick Kling

        Activity

        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #643 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk/643/)

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #643 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk/643/ )
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #530 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/530/)
        MAPREDUCE-2173. Fix race condition in TestBlockFixer that was
        causing intermittent failure (Ramkumar Vadali via dhruba)

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #530 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/530/ ) MAPREDUCE-2173 . Fix race condition in TestBlockFixer that was causing intermittent failure (Ramkumar Vadali via dhruba)
        dhruba borthakur made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Assignee Patrick Kling [ pkling ]
        Fix Version/s 0.22.0 [ 12314184 ]
        Resolution Fixed [ 1 ]
        Hide
        dhruba borthakur added a comment -

        I just committed this. Thanks Patrick!

        Show
        dhruba borthakur added a comment - I just committed this. Thanks Patrick!
        Hide
        dhruba borthakur added a comment -

        +1

        Show
        dhruba borthakur added a comment - +1
        Hide
        Patrick Kling added a comment -
        Show
        Patrick Kling added a comment - Review board: https://reviews.apache.org/r/25/
        Patrick Kling made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-2173.patch [ 12458704 ]
        Patrick Kling created issue -

          People

          • Assignee:
            Patrick Kling
            Reporter:
            Patrick Kling
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development