1
0

add a script that shuts down demo cluster gracefully

This commit is contained in:
Jing Chen
2019-03-18 19:06:39 -07:00
committed by vinoth chandar
parent 9e59da7fd9
commit a2a052abd9

8
docker/stop_demo.sh Executable file
View File

@@ -0,0 +1,8 @@
# set up root directory
WS_ROOT=`dirname $PWD`
# shut down cluster
HUDI_WS=${WS_ROOT} docker-compose -f compose/docker-compose_hadoop284_hive233_spark231.yml down
# remove houst mount directory
rm -rf /tmp/hadoop_data
rm -rf /tmp/hadoop_name