hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5304) mapreduce.Job killTask/failTask/getTaskCompletionEvents methods have incompatible signature changes
Date Fri, 07 Jun 2013 00:30:21 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677700#comment-13677700

Jason Lowe commented on MAPREDUCE-5304:

As someone who's on 0.23, I'll chime in to point out that the more we break the path from
0.23 to 2.x, the longer it will take us to move to 2.x.

That being said, I don't believe this particular change will affect a lot of our users.  Pig,
Oozie, and Hive are largely unaffected by this, and I don't believe we have user code that
is killing/failing tasks or getting task completion events.  Now if we were talking about
changing the interfaces to kill jobs or the counter interfaces, for example, then that would
affect key items further up the stack like Pig and a lot of our user code.
> mapreduce.Job killTask/failTask/getTaskCompletionEvents methods have incompatible signature
> ---------------------------------------------------------------------------------------------------
>                 Key: MAPREDUCE-5304
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5304
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>    Affects Versions: 2.0.4-alpha
>            Reporter: Alejandro Abdelnur
>            Assignee: Karthik Kambatla
>            Priority: Blocker
>         Attachments: mr-5304-1.patch
> Pointed out by [~zjshen] in MAPREDUCE-4942.
> In {{o.a.h.mapreduce.Job}} class, the following changed from Hadoop 1 to Hadoop 2.
> boolean failTask(TaskAttemptID): Change in return type from void to boolean.
> boolean killTask(TaskAttemptID): Change in return type from void to boolean.
> TaskCompletionEvent[] getTaskCompletionEvents(int): Change in return type from org.apache.hadoop.mapred.TaskCompletionEvent[]
to org.apache.hadoop.mapreduce.TaskCompletionEvent[].
> Using same rational as in other JIRAs, we should fix this to ensure Hadoop 1 to Hadoop
2 source compatibility (taking 0.23.x releases as a casualty as there is not right way for
everybody because we screwed up :( ). Flagging it as incompatible change because of 0.23.

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

View raw message