This is an automated email from the ASF dual-hosted git repository.
yihua pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new c74f33d54fc [MINOR] Fix unknown shorthand flag error with docker demo
(#11976)
c74f33d54fc is described below
commit c74f33d54fcad7381a01e8ec2592e4b5b74e08a8
Author: Lokesh Jain <[email protected]>
AuthorDate: Fri Sep 20 23:44:24 2024 +0530
[MINOR] Fix unknown shorthand flag error with docker demo (#11976)
---
docker/setup_demo.sh | 4 ++--
docker/stop_demo.sh | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docker/setup_demo.sh b/docker/setup_demo.sh
index d183086d26c..6ac0f422e52 100755
--- a/docker/setup_demo.sh
+++ b/docker/setup_demo.sh
@@ -24,13 +24,13 @@ if [ "$HUDI_DEMO_ENV" = "--mac-aarch64" ]; then
COMPOSE_FILE_NAME="docker-compose_hadoop284_hive233_spark244_mac_aarch64.yml"
fi
# restart cluster
-HUDI_WS=${WS_ROOT} docker compose down -f
${SCRIPT_PATH}/compose/${COMPOSE_FILE_NAME}
+HUDI_WS=${WS_ROOT} docker compose -f
${SCRIPT_PATH}/compose/${COMPOSE_FILE_NAME} down
if [ "$HUDI_DEMO_ENV" != "dev" ]; then
echo "Pulling docker demo images ..."
HUDI_WS=${WS_ROOT} docker compose -f
${SCRIPT_PATH}/compose/${COMPOSE_FILE_NAME} pull
fi
sleep 5
-HUDI_WS=${WS_ROOT} docker compose up -f
${SCRIPT_PATH}/compose/${COMPOSE_FILE_NAME} -d
+HUDI_WS=${WS_ROOT} docker compose -f
${SCRIPT_PATH}/compose/${COMPOSE_FILE_NAME} up -d
sleep 15
docker exec -it adhoc-1 /bin/bash
/var/hoodie/ws/docker/demo/setup_demo_container.sh
diff --git a/docker/stop_demo.sh b/docker/stop_demo.sh
index 25fb8d82734..dcb3aa34840 100755
--- a/docker/stop_demo.sh
+++ b/docker/stop_demo.sh
@@ -25,7 +25,7 @@ if [ "$HUDI_DEMO_ENV" = "--mac-aarch64" ]; then
COMPOSE_FILE_NAME="docker-compose_hadoop284_hive233_spark244_mac_aarch64.yml"
fi
# shut down cluster
-HUDI_WS=${WS_ROOT} docker compose down -f
${SCRIPT_PATH}/compose/${COMPOSE_FILE_NAME}
+HUDI_WS=${WS_ROOT} docker compose -f
${SCRIPT_PATH}/compose/${COMPOSE_FILE_NAME} down
# remove houst mount directory
rm -rf /tmp/hadoop_data