From dev-return-1718-apmail-mrunit-dev-archive=mrunit.apache.org@mrunit.apache.org Sun Nov 25 16:26:58 2012 Return-Path: X-Original-To: apmail-mrunit-dev-archive@www.apache.org Delivered-To: apmail-mrunit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B698D66F for ; Sun, 25 Nov 2012 16:26:58 +0000 (UTC) Received: (qmail 19029 invoked by uid 500); 25 Nov 2012 16:26:58 -0000 Delivered-To: apmail-mrunit-dev-archive@mrunit.apache.org Received: (qmail 18990 invoked by uid 500); 25 Nov 2012 16:26:58 -0000 Mailing-List: contact dev-help@mrunit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mrunit.apache.org Delivered-To: mailing list dev@mrunit.apache.org Received: (qmail 18982 invoked by uid 99); 25 Nov 2012 16:26:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2012 16:26:58 +0000 Date: Sun, 25 Nov 2012 16:26:58 +0000 (UTC) From: "Brock Noland (JIRA)" To: dev@mrunit.apache.org Message-ID: <1022556183.21348.1353860818297.JavaMail.jiratomcat@arcas> In-Reply-To: <1262191449.13180.1353520799138.JavaMail.jiratomcat@arcas> Subject: [jira] [Comment Edited] (MRUNIT-161) some distributed cache apis not working - JobContext getCacheArchives() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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:26 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