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

Change command line tools from /bin/sh to /bin/bash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • admin
    • None
    • Patch

    Description

      "#!/bin/sh" is used in kafka-server-stop.sh and zookeeper-server-stop.sh. [[ is a bash-builtin and used.
      Modern Debian and Ubuntu systems, which symlink sh to dash by default. So "[[: not found" will occur.
      Change "#Unable to render embedded object: File (/bin/sh" into "#) not found./bin/bash" can avoid this error. Modify and make all scripts using bash.

      Attachments

        Issue Links

          Activity

            People

              adally jiamei xie
              adally jiamei xie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: