Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 33017 invoked from network); 8 Jan 2008 19:29:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2008 19:29:04 -0000 Received: (qmail 55479 invoked by uid 500); 8 Jan 2008 19:28:52 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 55443 invoked by uid 500); 8 Jan 2008 19:28:52 -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 55434 invoked by uid 99); 8 Jan 2008 19:28:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 11:28:52 -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, 08 Jan 2008 19:28:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 041C371422E for ; Tue, 8 Jan 2008 11:28:34 -0800 (PST) Message-ID: <9155178.1199820514012.JavaMail.jira@brutus> Date: Tue, 8 Jan 2008 11:28:34 -0800 (PST) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-2551) hadoop-env.sh needs finer granularity In-Reply-To: <23500612.1199818773975.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-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556986#action_12556986 ] Doug Cutting commented on HADOOP-2551: -------------------------------------- I don't think we need HADOOP_GLOBAL_OPTS, we can just use HADOOP_OPTS for that, but we could add a HADOOP_NAMENODE_OPTS that, when starting the namenode, is appended to HADOOP_OPTS, etc. In general, we could modify bin/hadoop to add the value of HADOOP_{$COMMAND}_OPTS to HADOOP_OPTS. Would that suffice? > hadoop-env.sh needs finer granularity > ------------------------------------- > > Key: HADOOP-2551 > URL: https://issues.apache.org/jira/browse/HADOOP-2551 > Project: Hadoop > Issue Type: Improvement > Reporter: Allen Wittenauer > Priority: Minor > > We often configure our HADOOP_OPTS on the name node to have JMX running so that we can do JVM monitoring. But doing so means that we need to edit this file if we want to run other hadoop commands, such as fsck. It would be useful if hadoop-env.sh was refactored a bit so that there were different and/or cascading HADOOP_OPTS dependent upon which process/task was being performed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.