You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Jie Huang (JIRA)" <ji...@apache.org> on 2012/07/17 03:27:35 UTC

[jira] [Updated] (CHUKWA-649) To handle pid-file missing case while stoping chukwa processes

     [ https://issues.apache.org/jira/browse/CHUKWA-649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jie Huang updated CHUKWA-649:
-----------------------------

    Attachment: Chukwa-649-0_4.patch

Simple fix. Or we can make it better. like adding some “if-else” clause with more prompts. If it is necessary, I will refine it. Any idea?
                
> To handle pid-file missing case while stoping chukwa processes
> --------------------------------------------------------------
>
>                 Key: CHUKWA-649
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-649
>             Project: Chukwa
>          Issue Type: Improvement
>          Components: Scripts
>    Affects Versions: 0.4.0, 0.6.0
>            Reporter: Jie Huang
>            Priority: Trivial
>         Attachments: Chukwa-649-0_4.patch
>
>
> If the pid-file is missing accidentally, the stop script will print out usage prompt of "kill" command. It is quite confused for the end user. The simple fix is to check that pid-file before executing kill command.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira