Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80E2DD576 for ; Fri, 7 Sep 2012 17:08:08 +0000 (UTC) Received: (qmail 78396 invoked by uid 500); 7 Sep 2012 17:08:08 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 78345 invoked by uid 500); 7 Sep 2012 17:08:08 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 78242 invoked by uid 99); 7 Sep 2012 17:08:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 17:08:08 +0000 Date: Sat, 8 Sep 2012 04:08:08 +1100 (NCT) From: "Alejandro Abdelnur (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1371673237.51238.1347037688194.JavaMail.jiratomcat@arcas> In-Reply-To: <1797204468.46950.1346968927641.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (MAPREDUCE-4642) MiniMRClientClusterFactory should not use job.setJar() 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/MAPREDUCE-4642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur updated MAPREDUCE-4642: ------------------------------------------ Resolution: Fixed Fix Version/s: 2.2.0-alpha Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Thanks Robert. Committed to trunk and branch-2. > MiniMRClientClusterFactory should not use job.setJar() > ------------------------------------------------------ > > Key: MAPREDUCE-4642 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4642 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test > Reporter: Robert Kanter > Assignee: Robert Kanter > Fix For: 2.2.0-alpha > > Attachments: MAPREDUCE-4642.patch, MAPREDUCE-4642.patch > > > Currently, MiniMRClientClusterFactory does {{job.setJar(callerJar)}} so that the {{callerJar}} is added to the cache in MR2. However, this makes the resulting configuration inconsistent between MR1 and MR2 as in MR1 the job jar is not set and in MR2 its set to the {{callerJar}}. This difference can also cause some tests to fail in Oozie. We should instead use the {{job.addCacheFile()}} method. -- 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