You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2016/09/23 23:13:20 UTC

[jira] [Updated] (KAFKA-3281) Improve message of stop scripts when no processes are running

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

Jason Gustafson updated KAFKA-3281:
-----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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.10.0.0
>            Reporter: Sasaki Toru
>            Assignee: Sasaki Toru
>            Priority: Minor
>             Fix For: 0.10.1.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)