- 问题描述:
今天在使用shell脚本启动集群时,发现无法启动集群,在logs目录下只有一个kafkaServer.out文件,其中内容为:nohup: failed to run command `java’: No such file or directory
- 原本的shell脚本内容如下
#!/bin/bash
case $1 in
"start"){
for i in hadoop002 hadoop003 hadoop004
do
echo "==========