From 65c689f6a60e4208db5305a5f14538bab493b89d Mon Sep 17 00:00:00 2001 From: Dan Wang Date: Thu, 17 Oct 2024 22:56:49 +0800 Subject: [PATCH] fix download hadoop/zk --- admin_tools/download_hadoop.sh | 1 + admin_tools/download_zk.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/admin_tools/download_hadoop.sh b/admin_tools/download_hadoop.sh index 892b4d6b18..6fd101eb9b 100755 --- a/admin_tools/download_hadoop.sh +++ b/admin_tools/download_hadoop.sh @@ -24,6 +24,7 @@ CWD=$(cd "$(dirname "$0")" && pwd) if [ $# -lt 1 ]; then echo "Invalid arguments !" echo "USAGE: $0 " + exit 1 fi HADOOP_BIN_PATH=$1 diff --git a/admin_tools/download_zk.sh b/admin_tools/download_zk.sh index 7f0823c74c..481c488d73 100755 --- a/admin_tools/download_zk.sh +++ b/admin_tools/download_zk.sh @@ -24,6 +24,7 @@ CWD=$(cd $(dirname $0) && pwd) if [ $# -lt 1 ]; then echo "Invalid arguments !" echo "USAGE: $0 " + exit 1 fi ZOOKEEPER_BIN_PATH=$1