You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Ari Rabkin (JIRA)" <ji...@apache.org> on 2012/07/18 06:53:34 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13416860#comment-13416860 ] 

Ari Rabkin commented on CHUKWA-649:
-----------------------------------

I think it would be better to explicitly tell the user if there's nothing to kill.
Possible wording: "No PID file found; not killing. Perhaps Chukwa was not running?"
                
> 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