This is an automated email from the ASF dual-hosted git repository.

wangdan pushed a commit to branch fix-github-zk-hadoop
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/fix-github-zk-hadoop by this 
push:
     new 65c689f6a fix download hadoop/zk
65c689f6a is described below

commit 65c689f6a60e4208db5305a5f14538bab493b89d
Author: Dan Wang <[email protected]>
AuthorDate: Thu Oct 17 22:56:49 2024 +0800

    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 892b4d6b1..6fd101eb9 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 <HADOOP_BIN_PATH>"
+    exit 1
 fi
 
 HADOOP_BIN_PATH=$1
diff --git a/admin_tools/download_zk.sh b/admin_tools/download_zk.sh
index 7f0823c74..481c488d7 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 <ZOOKEEPER_BIN_PATH>"
+    exit 1
 fi
 
 ZOOKEEPER_BIN_PATH=$1


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to