[ https://issues.apache.org/jira/browse/MRUNIT-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502791#comment-13502791 ]
Brock Noland commented on MRUNIT-161: ------------------------------------- There are bunch of methods relating to Dcache in JobContextImpl. They look easy enough to implement, we'd just need the configuration object to do so. public URI[] getCacheArchives() throws IOException { return DistributedCache.getCacheArchives(conf); } > 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 > > > 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