You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2009/03/31 02:08:50 UTC
[jira] Created: (CHUKWA-67) daemon tools has trouble watching
daemon when the program print message to standard error
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
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.
[jira] Updated: (CHUKWA-67) daemon tools has trouble watching
daemon when the program print message to standard error
Posted by "Eric Yang (JIRA)" <ji...@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.
[jira] Assigned: (CHUKWA-67) daemon tools has trouble watching
daemon when the program print message to standard error
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang reassigned CHUKWA-67:
-------------------------------
Assignee: Eric Yang
> 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
> Assignee: 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.
[jira] Commented: (CHUKWA-67) daemon tools has trouble watching
daemon when the program print message to standard error
Posted by "Cheng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694658#action_12694658 ]
Cheng commented on CHUKWA-67:
-----------------------------
+1 a good fix.
> 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
> Assignee: 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.
[jira] Updated: (CHUKWA-67) daemon tools has trouble watching
daemon when the program print message to standard error
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang updated CHUKWA-67:
----------------------------
Attachment: CHUKWA-67.patch
Redirect both stderr and stdout to /dev/null.
> 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.
[jira] Updated: (CHUKWA-67) daemon tools has trouble watching
daemon when the program print message to standard error
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang updated CHUKWA-67:
----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Thanks Cheng, I just committed this.
> 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
> Assignee: 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.