hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rares Vernica (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-1915) IndexCache - getIndexInformation - check reduce index Out Of Bounds
Date Mon, 05 Jul 2010 23:02:49 GMT
IndexCache - getIndexInformation - check reduce index Out Of Bounds
-------------------------------------------------------------------

                 Key: MAPREDUCE-1915
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1915
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: tasktracker
    Affects Versions: 0.20.2
            Reporter: Rares Vernica
            Priority: Trivial


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message