[ 
https://issues.apache.org/jira/browse/KAFKA-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15166952#comment-15166952
 ] 

ASF GitHub Bot commented on KAFKA-3281:
---------------------------------------

GitHub user sasakitoa opened a pull request:

    https://github.com/apache/kafka/pull/971

    KAFKA-3281: Improve stop script's message when no processes are running

    Stop scritps such as kafka-server-stop.sh log messages of kill command's 
error when processes aren't running.
    This PR changes this message to "No kafka server to stop".

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sasakitoa/kafka 
stop_scripts_says_not_good_message

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/971.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #971
    
----
commit d459d199f01b0ddf75363b423f859882b366005a
Author: Sasaki Toru <sasaki...@nttdata.co.jp>
Date:   2016-02-25T08:43:13Z

    Improve stop script's message when no processes are running.

----


> Improve message of stop scripts when no processes are running
> -------------------------------------------------------------
>
>                 Key: KAFKA-3281
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3281
>             Project: Kafka
>          Issue Type: Improvement
>    Affects Versions: 0.9.0.1
>            Reporter: Sasaki Toru
>            Priority: Minor
>             Fix For: 0.10.0.0
>
>
> Stop scritps such as kafka-server-stop.sh log messages of kill command's 
> error when processes aren't running.
> Example(Brokers are not running):
> {code}
> $ bin/kafka-server-stop.sh 
> kill: invalid argument S
> Usage:
>  kill [options] <pid> [...]
> Options:
>  <pid> [...]            send signal to every <pid> listed
>  -<signal>, -s, --signal <signal>
>                         specify the <signal> to be sent
>  -l, --list=[<signal>]  list all signal names, or convert one to a name
>  -L, --table            list all signal names in a nice table
>  -h, --help     display this help and exit
>  -V, --version  output version information and exit
> For more details see kill(1).
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to