You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Dave Beech (JIRA)" <ji...@apache.org> on 2012/11/30 19:45:58 UTC
[jira] [Resolved] (MRUNIT-163) getTaskAttemptID is missing from
context
[ https://issues.apache.org/jira/browse/MRUNIT-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Beech resolved MRUNIT-163.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.0.0
I've added this mocked method into the map and reduce context objects.
> 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