[ https://issues.apache.org/jira/browse/KAFKA-10018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax updated KAFKA-10018: ------------------------------------ Summary: Change command line tool from /bin/sh to /bin/bash (was: Change sh to bash) > Change command line tool from /bin/sh to /bin/bash > --------------------------------------------------- > > Key: KAFKA-10018 > URL: https://issues.apache.org/jira/browse/KAFKA-10018 > Project: Kafka > Issue Type: Bug > Components: admin > Reporter: jiamei xie > Assignee: jiamei xie > Priority: Major > > "#!/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 "#!/bin/sh" into "#!/bin/bash" can avoid this error. Modify and > make all scripts using bash. -- This message was sent by Atlassian Jira (v8.3.4#803005)