From 8a80b10b956d89fe6f60b74213bd8bb4bb6f03b0 Mon Sep 17 00:00:00 2001 From: suxiaogang223 Date: Tue, 9 Apr 2024 00:24:29 +0800 Subject: [PATCH] can not both run hive2 and hive3 --- docker/thirdparties/run-thirdparties-docker.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/thirdparties/run-thirdparties-docker.sh b/docker/thirdparties/run-thirdparties-docker.sh index fc50c2675012de4..9ab66064e5a583f 100755 --- a/docker/thirdparties/run-thirdparties-docker.sh +++ b/docker/thirdparties/run-thirdparties-docker.sh @@ -301,6 +301,11 @@ if [[ "${RUN_KAFKA}" -eq 1 ]]; then fi fi +if [[ $RUN_HIVE -eq 1 && $RUN_HIVE3 -eq 1 ]]; then + echo "can not both run hive2 and hive3" + exit 1 +fi + if [[ "${RUN_HIVE}" -eq 1 ]]; then # hive2 # If the doris cluster you need to test is single-node, you can use the default values; If the doris cluster you need to test is composed of multiple nodes, then you need to set the IP_HOST according to the actual situation of your machine