You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2013/01/10 20:04:13 UTC

[jira] [Created] (MAPREDUCE-4932) mapreduce.job#getTaskCompletionEvents incompatible with MR1

Robert Kanter created MAPREDUCE-4932:
----------------------------------------

             Summary: mapreduce.job#getTaskCompletionEvents incompatible with MR1
                 Key: MAPREDUCE-4932
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4932
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 2.0.2-alpha
            Reporter: Robert Kanter
            Assignee: Robert Kanter


In MR1, {{org.apache.hadoop.mapreduce.Job#getTaskCompletionEvents}} takes one argument: {{int startFrom}}.  In MR2, it now takes an additional argument: {{ int numEvents}} (which is the max number of events to get).  This makes them incompatible.  

I propose we add a second {{getTaskCompletionEvents}} method that simply calls the other one with {{numEvents}} set to {{Integer.MAX_VALUE}} to replicate the behavior of the MR1 version.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira