mrunit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MRUNIT-163) getTaskAttemptID is missing from context
Date Fri, 30 Nov 2012 19:35:58 GMT

    [ https://issues.apache.org/jira/browse/MRUNIT-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507588#comment-13507588
] 

Hudson commented on MRUNIT-163:
-------------------------------

Integrated in mrunit-trunk #488 (See [https://builds.apache.org/job/mrunit-trunk/488/])
    MRUNIT-163: getTaskAttemptID is missing from context (Revision 319e6bbd00582624afb4d953a020af72c27e9e02)

     Result = ABORTED
dbeech : https://git-wip-us.apache.org/repos/asf?p=mrunit.git&a=commit&h=319e6bbd00582624afb4d953a020af72c27e9e02
Files : 
* src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/MockReduceContextWrapper.java
* src/test/java/org/apache/hadoop/mrunit/mapreduce/TestMapDriver.java
* src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/MockMapContextWrapper.java
* src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReduceDriver.java

                
> getTaskAttemptID is missing from context
> ----------------------------------------
>
>                 Key: MRUNIT-163
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-163
>             Project: MRUnit
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Patrick Hunt
>            Assignee: Dave Beech
>             Fix For: 1.0.0
>
>
> I'm trying to get the task attempt id in my reducer test code however it's null:
> org.apache.hadoop.mapreduce.TaskAttemptContext.getTaskAttemptID()
> It would be good to provide a value for this to the user code.

--
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

Mime
View raw message