Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 33064 invoked from network); 25 Jul 2007 11:44:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2007 11:44:00 -0000 Received: (qmail 95568 invoked by uid 500); 25 Jul 2007 11:43:55 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 95526 invoked by uid 500); 25 Jul 2007 11:43:55 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 95419 invoked by uid 99); 25 Jul 2007 11:43:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 04:43:54 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 04:43:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D61A7141EE for ; Wed, 25 Jul 2007 04:43:32 -0700 (PDT) Message-ID: <30791088.1185363812444.JavaMail.jira@brutus> Date: Wed, 25 Jul 2007 04:43:32 -0700 (PDT) From: "Devaraj Das (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1587) Tasks run by MiniMRCluster don't get sysprops from TestCases In-Reply-To: <4240949.1184077864448.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devaraj Das updated HADOOP-1587: -------------------------------- Attachment: 1587.patch Ok the patch fixes the issue by passing the sysprops in the JobConf property mapred.child.java.opts from TestSymLink. > Tasks run by MiniMRCluster don't get sysprops from TestCases > ------------------------------------------------------------ > > Key: HADOOP-1587 > URL: https://issues.apache.org/jira/browse/HADOOP-1587 > Project: Hadoop > Issue Type: Bug > Components: test > Environment: unix > Reporter: Alejandro Abdelnur > Assignee: Devaraj Das > Priority: Blocker > Attachments: 1587.patch > > > While it seems a general problem it is surfacing in streaming TestSymLink testcase with patch for HADOOP-1558 > The contrib testcases use src/contrib/test/hadoop-site.xml. > The property 'mapred.system.dir' is this file is defined as with a variable '${contrib.name}'. > The src/build/build-contrib.xml ant file sets the sysproperty 'contrib.name' to the name of the contrib component for the JVM running the testcase. > The problem is that when a testcase uses MiniMRCluster the TaskRunner forks a JVM for the task and in this JVM (which uses the above hadoop-site.xml) the variable 'contrib.name' is undefined. > If I hardcode 'streaming' in the hadoop-site.xml for the TestSymLink the testcase works fine. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.