mrunit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MRUNIT-161) some distributed cache apis not working - JobContext getCacheArchives()
Date Sun, 25 Nov 2012 16:28:58 GMT

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

Brock Noland edited comment on MRUNIT-161 at 11/25/12 4:27 PM:
---------------------------------------------------------------

[~dbeech] Do you know the difference is between the getLocal*Cache* and getCache* methods?
It looks like they are using a different configuration key.
                
      was (Author: brocknoland):
    @dbeech Do you know the difference is between the getLocal*Cache* and getCache* methods?
It looks like they are using a different configuration key.
                  
> 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
>            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

Mime
View raw message