[
https://issues.apache.org/jira/browse/MAPREDUCE-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682217#comment-13682217
]
Hudson commented on MAPREDUCE-5304:
-----------------------------------
Integrated in Hadoop-Hdfs-trunk #1429 (See
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1429/])
MAPREDUCE-5304. mapreduce.Job killTask/failTask/getTaskCompletionEvents
methods have incompatible signature changes. (kkambatl via tucu) (Revision
1492360)
Result = FAILURE
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1492360
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
*
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskCompletionEvent.java
*
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java
*
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/tools/CLI.java
> mapreduce.Job killTask/failTask/getTaskCompletionEvents methods have
> incompatible signature changes
> ---------------------------------------------------------------------------------------------------
>
> 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
> Fix For: 2.1.0-beta
>
> 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