From d73a3fddd8beb1e294a4fb079a1dc6af39461cec 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 2b38640706f6145..a671c8213044352 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