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

kafka-server-stop.sh fails is Kafka launched via kafka-server-start.sh

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • 0.10.0.1
    • None
    • tools
    • None
    • Tested in Debian Jessy

    Description

      kafka-server-stop.sh greps for the process ID to kill with the following:

      PIDS=$(ps ax | grep -i 'kafka\.Kafka' | grep java | grep -v grep | awk '{print $1}')

      However, if Kafka is launched via the kafka-server-start.sh script, the process doesn't include kafka.Kafka, the grep fails to find the process, and it returns the failure message, No Kafka server to stop.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alex.schmitz Alex Schmitz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified