Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1915

IndexCache - getIndexInformation - check reduce index Out Of Bounds

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

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.20.1, 0.20.2, 0.20.3, 0.21.0, 0.22.0
    • 0.22.0
    • tasktracker
    • None
    • Reviewed

    Description

      When checking if the "reduce" index is out of bounds the check should be

      info.mapSpillRecord.size() <= reduce

      instead of:

      info.mapSpillRecord.size() < reduce

      Not a big bug since an Out Of Bounds is thrown downstream anyway.

      Attachments

        1. MAPREDUCE-1915.patch
          0.6 kB
          Rares Vernica
        2. MAPREDUCE-1915_1.patch
          3 kB
          Priyo Mustafi

        Activity

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

          People

            priyomustafi Priyo Mustafi
            rvernica Rares Vernica
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment