jiamei xie created KAFKA-10018:
----------------------------------
Summary: Change sh to 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
"#!/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)