Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3281

Improve message of stop scripts when no processes are running

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.1.0
    • Component/s: None
    • Labels:
      None

      Description

      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):

      $ 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).
      

        Attachments

          Activity

            People

            • Assignee:
              sasakitoa Sasaki Toru
              Reporter:
              sasakitoa Sasaki Toru
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: