You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/01/07 21:10:13 UTC

[jira] [Resolved] (MRUNIT-161) some distributed cache apis not working - JobContext getCacheArchives()

     [ https://issues.apache.org/jira/browse/MRUNIT-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brock Noland resolved MRUNIT-161.
---------------------------------

    Resolution: Fixed

I have committed this patch to trunk and trunk-hadoop1. I removed the portions of it which don't compile against hadoop1 (ie the real meat of the patch) in MRUNIT-174.
                
> some distributed cache apis not working - JobContext getCacheArchives()
> -----------------------------------------------------------------------
>
>                 Key: MRUNIT-161
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-161
>             Project: MRUnit
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Patrick Hunt
>            Assignee: Brock Noland
>            Priority: Blocker
>             Fix For: 1.0.0
>
>         Attachments: MRUNIT-161-0.patch
>
>
> I'm using the new MRUnit method withCacheArchive available in 1.0.0.
> DistributedCache.getLocalCacheArchives(conf) returns a non-empty array, however
> org.apache.hadoop.mapreduce.JobContext.getCacheArchives()
> in the mapper returns null. It seems that the context mock doesn't have these methods implemented?
> I'm using hadoop2, where getLocalCacheArchives is listed as deprecated.

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