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

IndexCache - getIndexInformation - check reduce index Out Of Bounds

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.20.1, 0.20.2, 0.20.3, 0.21.0, 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: tasktracker
    • Labels:
      None
    • Hadoop Flags:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: