Return-Path: X-Original-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3D747EA4 for ; Sat, 13 Aug 2011 06:42:57 +0000 (UTC) Received: (qmail 843 invoked by uid 500); 13 Aug 2011 06:42:57 -0000 Delivered-To: apmail-incubator-bigtop-dev-archive@incubator.apache.org Received: (qmail 795 invoked by uid 500); 13 Aug 2011 06:42:55 -0000 Mailing-List: contact bigtop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-dev@incubator.apache.org Received: (qmail 773 invoked by uid 99); 13 Aug 2011 06:42:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2011 06:42:51 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2011 06:42:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 20787BA786 for ; Sat, 13 Aug 2011 06:42:27 +0000 (UTC) Date: Sat, 13 Aug 2011 06:42:27 +0000 (UTC) From: "Eli Collins (JIRA)" To: bigtop-dev@incubator.apache.org Message-ID: <1597301429.35672.1313217747113.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1852460554.34721.1313186009637.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (BIGTOP-20) hard-coded pid location in Hadoop init.d scripts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BIGTOP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated BIGTOP-20: ------------------------------ Description: The init.d scripts have a hard-coded PID file, e.g.: PIDFILE="/var/run/hadoop-0.20/hadoop-$HADOOP_IDENT_STRING-namenode.pid" The init scripts should instead respect the values set in hadoop-env.sh Current work-around is to set HADOOP_PID_DIR in hadoop-env.sh to /var/run/hadoop-0.20. Note that HADOOP_IDENT_STRING must be set to the same value in both /etc/default/hadoop-0.20 and hadoop-env.sh for the pid file to be found. It defaults to "hadoop" in /etc/default/hadoop-0.20. was: The init.d scripts installed as part of CDH3b3 RPMs have a hard-coded PID file, e.g.: PIDFILE="/var/run/hadoop-0.20/hadoop-$HADOOP_IDENT_STRING-namenode.pid" The init scripts should instead respect the values set in hadoop-env.sh Current work-around is to set HADOOP_PID_DIR in hadoop-env.sh to /var/run/hadoop-0.20. Note that HADOOP_IDENT_STRING must be set to the same value in both /etc/default/hadoop-0.20 and hadoop-env.sh for the pid file to be found. It defaults to "hadoop" in /etc/default/hadoop-0.20. > hard-coded pid location in Hadoop init.d scripts > ------------------------------------------------ > > Key: BIGTOP-20 > URL: https://issues.apache.org/jira/browse/BIGTOP-20 > Project: Bigtop > Issue Type: Bug > Reporter: Roman Shaposhnik > Priority: Minor > > The init.d scripts have a hard-coded PID file, e.g.: > PIDFILE="/var/run/hadoop-0.20/hadoop-$HADOOP_IDENT_STRING-namenode.pid" > The init scripts should instead respect the values set in hadoop-env.sh > Current work-around is to set HADOOP_PID_DIR in hadoop-env.sh to /var/run/hadoop-0.20. Note that HADOOP_IDENT_STRING must be set to the same value in both /etc/default/hadoop-0.20 and hadoop-env.sh for the pid file to be found. It defaults to "hadoop" in /etc/default/hadoop-0.20. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira