Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 61833 invoked from network); 1 Feb 2008 20:49:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 20:49:29 -0000 Received: (qmail 98708 invoked by uid 500); 1 Feb 2008 20:49:20 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 98684 invoked by uid 500); 1 Feb 2008 20:49:20 -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 98675 invoked by uid 99); 1 Feb 2008 20:49:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 12:49:20 -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; Fri, 01 Feb 2008 20:49:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B1E47714044 for ; Fri, 1 Feb 2008 12:49:07 -0800 (PST) Message-ID: <22001474.1201898947725.JavaMail.jira@brutus> Date: Fri, 1 Feb 2008 12:49:07 -0800 (PST) From: "Allen Wittenauer (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12564929#action_12564929 ] Allen Wittenauer commented on HADOOP-2766: ------------------------------------------ See also https://issues.apache.org/jira/browse/HADOOP-2551 > [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 > Reporter: Hemanth Yamijala > Assignee: Vinod Kumar Vavilapalli > Priority: Critical > 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.