You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "jiamei xie (Jira)" <ji...@apache.org> on 2020/05/19 01:18:00 UTC
[jira] [Created] (KAFKA-10018) Change sh to bash
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)