Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 40881 invoked from network); 3 Mar 2009 23:19:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 23:19:20 -0000 Received: (qmail 87942 invoked by uid 500); 3 Mar 2009 23:19:17 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 87904 invoked by uid 500); 3 Mar 2009 23:19:16 -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 87893 invoked by uid 99); 3 Mar 2009 23:19:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 15:19:16 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 23:19:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 35047234C4B4 for ; Tue, 3 Mar 2009 15:18:56 -0800 (PST) Message-ID: <1106123830.1236122336216.JavaMail.jira@brutus> Date: Tue, 3 Mar 2009 15:18:56 -0800 (PST) From: "Eric Yang (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5291) chukwa agent should do something sensible if CHUKWA_HOME isn't defined In-Reply-To: <437345496.1235081641867.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-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678507#action_12678507 ] Eric Yang commented on HADOOP-5291: ----------------------------------- I think if CHUKWA_HOME is not defined, we might want to bail out instead of using /tmp/chukwa as CHUKWA_HOME. This will make Chukwa less platform dependent. > chukwa agent should do something sensible if CHUKWA_HOME isn't defined > ---------------------------------------------------------------------- > > Key: HADOOP-5291 > URL: https://issues.apache.org/jira/browse/HADOOP-5291 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/chukwa > Reporter: Ari Rabkin > Assignee: Ari Rabkin > Priority: Trivial > Attachments: fixPidFile.patch > > > If Chukwa is started in such a way that CHUKWA_HOME doesn't get set, then pid files are stored in chukwa/null/var.... This comes up if, e.g., the agent is started within eclipse. We can make this case look prettier by defaulting to /tmp. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.