Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 26564 invoked from network); 5 Feb 2008 09:41:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 09:41:32 -0000 Received: (qmail 16671 invoked by uid 500); 5 Feb 2008 09:41:22 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 16652 invoked by uid 500); 5 Feb 2008 09:41:22 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 16643 invoked by uid 99); 5 Feb 2008 09:41:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 01:41:22 -0800 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; Tue, 05 Feb 2008 09:41:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BF5DB714070 for ; Tue, 5 Feb 2008 01:41:07 -0800 (PST) Message-ID: <15675387.1202204467772.JavaMail.jira@brutus> Date: Tue, 5 Feb 2008 01:41:07 -0800 (PST) From: "Vinod Kumar Vavilapalli (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2766) [HOD] No way to set HADOOP_OPTS environment variable to the Hadoop daemons through HOD In-Reply-To: <11346230.1201861029165.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-2766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Kumar Vavilapalli updated HADOOP-2766: -------------------------------------------- Fix Version/s: 0.17.0 0.16.1 0.16.0 Affects Version/s: 0.17.0 0.16.1 Status: Patch Available (was: Open) Patch looks fine. Submitting now. > [HOD] No way to set HADOOP_OPTS environment variable to the Hadoop daemons through HOD > -------------------------------------------------------------------------------------- > > Key: HADOOP-2766 > URL: https://issues.apache.org/jira/browse/HADOOP-2766 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/hod > Affects Versions: 0.16.0, 0.16.1, 0.17.0 > Reporter: Hemanth Yamijala > Assignee: Vinod Kumar Vavilapalli > Priority: Critical > Fix For: 0.16.0, 0.16.1, 0.17.0 > > Attachments: hadoop-2766 > > > For purposes of performance tuning it should be possible to set some environment variables that Hadoop honors before launching the Hadoop daemons. For e.g. to set the heap size of the JVM, we should set the HADOOP_HEAPSIZE variable. These can be configured through hodrc using the gridservice-mapred.envs environment variable. This works for everything *except* HADOOP_OPTS, which is also useful, for e.g. to pass in Garbage collection parameters to the JVM, like -XX:+UseParallelGC. This is because HOD tries to set HADOOP_OPTS from the gridservice-mapred.java-opts variable, but it does not read the java-opts variable anywhere properly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.