Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 74482 invoked from network); 1 Apr 2009 17:40:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 17:40:35 -0000 Received: (qmail 39232 invoked by uid 500); 1 Apr 2009 17:40:35 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 39177 invoked by uid 500); 1 Apr 2009 17:40:35 -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 39010 invoked by uid 99); 1 Apr 2009 17:40:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 17:40:34 +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; Wed, 01 Apr 2009 17:40:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8C9EB234C056 for ; Wed, 1 Apr 2009 10:40:13 -0700 (PDT) Message-ID: <1105613238.1238607613574.JavaMail.jira@brutus> Date: Wed, 1 Apr 2009 10:40:13 -0700 (PDT) From: "Eric Yang (JIRA)" To: chukwa-dev@hadoop.apache.org Subject: [jira] Updated: (CHUKWA-67) daemon tools has trouble watching daemon when the program print message to standard error In-Reply-To: <1465135556.1238458130482.JavaMail.jira@brutus> 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-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Yang updated CHUKWA-67: ---------------------------- Status: Patch Available (was: Open) This patch will redirect stderr and stdout to /dev/null for daemontools to work properly with our scripts. > daemon tools has trouble watching daemon when the program print message to standard error > ----------------------------------------------------------------------------------------- > > Key: CHUKWA-67 > URL: https://issues.apache.org/jira/browse/CHUKWA-67 > Project: Hadoop Chukwa > Issue Type: Bug > Components: input tools > Environment: Redhat 5.1, Java 6 > Reporter: Eric Yang > Attachments: CHUKWA-67.patch > > > Daemon tools doesn't behave when our software print message to standard out. > [eyang@localhost chuwka-0.1.1]$ ps ax|grep ChukwaAgent > 4707 ? S 0:08 readproctitle service errors: ...tart(FileAdaptor.java:80)??at > org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent.processCommand(ChukwaAgent.java:303)??at > org.apache.hadoop.chukwa.datacollection.agent.AgentControlSocketListener$ListenThread.processCommand(AgentControlSocketListener.java:103)??at > org.apache.hadoop.chukwa.datacollection.agent.AgentControlSocketListener$ListenThread.run(AgentControlSocketListener.java:63)? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.