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 97D49EC68 for ; Sun, 30 Dec 2012 21:22:13 +0000 (UTC) Received: (qmail 68088 invoked by uid 500); 30 Dec 2012 21:22:13 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 68033 invoked by uid 500); 30 Dec 2012 21:22:13 -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 68025 invoked by uid 99); 30 Dec 2012 21:22:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Dec 2012 21:22:13 +0000 Date: Sun, 30 Dec 2012 21:22:13 +0000 (UTC) From: "Sandy Ryza (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-4278) cannot run two local jobs in parallel from the same gateway. 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-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandy Ryza updated MAPREDUCE-4278: ---------------------------------- Attachment: MAPREDUCE-4278-3-branch1.patch > cannot run two local jobs in parallel from the same gateway. > ------------------------------------------------------------ > > Key: MAPREDUCE-4278 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4278 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 0.20.205.0 > Reporter: Araceli Henley > Assignee: Sandy Ryza > Attachments: MAPREDUCE-4278-2-branch1.patch, MAPREDUCE-4278-3-branch1.patch, MAPREDUCE-4278-branch1.patch, MAPREDUCE-4278-trunk.patch, MAPREDUCE-4278-trunk.patch > > > I cannot run two local mode jobs from Pig in parallel from the same gateway, this is a typical use case. If I re-run the tests sequentially, then the test pass. This seems to be a problem from Hadoop. > Additionally, the pig harness, expects to be able to run Pig-version-undertest against Pig-version-stable from the same gateway. > To replicate the error: > I have two clusters running from the same gateway. > If I run the Pig regression suites nightly.conf in local mode in paralell - once on each cluster. Conflicts in M/R local mode result in failures in the tests. > ERROR1: > org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find > output/file.out in any of the configured local directories > at > org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathToRead(LocalDirAllocator.java:429) > at > org.apache.hadoop.fs.LocalDirAllocator.getLocalPathToRead(LocalDirAllocator.java:160) > at > org.apache.hadoop.mapred.MapOutputFile.getOutputFile(MapOutputFile.java:56) > at org.apache.hadoop.mapred.Task.calculateOutputSize(Task.java:944) > at org.apache.hadoop.mapred.Task.sendLastUpdate(Task.java:924) > at org.apache.hadoop.mapred.Task.done(Task.java:875) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:374) > --- > ERROR2: > 2012-05-17 20:25:36,762 [main] INFO > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher > - > HadoopJobId: job_local_0001 > 2012-05-17 20:25:36,778 [Thread-3] INFO org.apache.hadoop.mapred.Task - > Using ResourceCalculatorPlugin : org.apache. > hadoop.util.LinuxResourceCalculatorPlugin@ffa490e > 2012-05-17 20:25:36,837 [Thread-3] WARN > org.apache.hadoop.mapred.LocalJobRunner - job_local_0001 > java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 > at java.util.ArrayList.RangeCheck(ArrayList.java:547) > at java.util.ArrayList.get(ArrayList.java:322) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getLoadFunc(PigInputFormat.java > :153) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.createRecordReader(PigInputForm > at.java:106) > at > org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.(MapTask.java:489) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:731) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370) > at > org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212) > 2012-05-17 20:25:41,291 [main] INFO > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher -- 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