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

IndexCache - getIndexInformation - check reduce index Out Of Bounds

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial 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.

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development