Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 34600 invoked from network); 19 Jan 2010 03:05:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2010 03:05:19 -0000 Received: (qmail 37432 invoked by uid 500); 19 Jan 2010 03:05:19 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 37383 invoked by uid 500); 19 Jan 2010 03:05:18 -0000 Mailing-List: contact chukwa-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-dev@hadoop.apache.org Received: (qmail 37365 invoked by uid 99); 19 Jan 2010 03:05:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 03:05:17 +0000 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, 19 Jan 2010 03:05:15 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 81D44234C498 for ; Mon, 18 Jan 2010 19:04:54 -0800 (PST) Message-ID: <1201959831.326431263870294530.JavaMail.jira@brutus.apache.org> Date: Tue, 19 Jan 2010 03:04:54 +0000 (UTC) From: "Ari Rabkin (JIRA)" To: chukwa-dev@hadoop.apache.org Subject: [jira] Commented: (CHUKWA-446) Refactor tools/init.d scripts In-Reply-To: <412186746.187621263322194467.JavaMail.jira@brutus.apache.org> 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/CHUKWA-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802056#action_12802056 ] Ari Rabkin commented on CHUKWA-446: ----------------------------------- I think there's a typo on "ChukwaArachiveManager" Should be Archive, I think, not Arachive. Are we ditching start-agents and start-collectors? I use those...but would be happy if they moved to some auxiliary directory to make bin look less scary. > Refactor tools/init.d scripts > ----------------------------- > > Key: CHUKWA-446 > URL: https://issues.apache.org/jira/browse/CHUKWA-446 > Project: Hadoop Chukwa > Issue Type: Improvement > Reporter: Bill Graham > Assignee: Eric Yang > Attachments: chukwa > > > 1. The scripts try to write lock files to /var/lock/subsys, which is owned by root. We should change this location to be somewhere that doesn't require root access. > 2. The actual run command does an su to the CHUKWA_USER which also caused problems for us. It seems like it would be cleaner to not embed the su calls in the script, but instead allow the user to su when they run the script (which worked much better for us). That way everything done by the script would be done by the same user. > 3. Each script has CHUKWA_HOME, CHUKWA_CONF_DIR and CHUKWA_USER hard coded. Hard coded defaults is ok, but the ability to override them without modifying the scripts would be ideal. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.