You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by vi...@apache.org on 2019/03/19 18:01:11 UTC

[incubator-hudi] branch master updated: add a script that shuts down demo cluster gracefully

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

vinoth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new a2a052a  add a script that shuts down demo cluster gracefully
a2a052a is described below

commit a2a052abd9b8955817eb4438db68998ab83d81c1
Author: Jing Chen <mi...@gmail.com>
AuthorDate: Mon Mar 18 19:06:39 2019 -0700

    add a script that shuts down demo cluster gracefully
---
 docker/stop_demo.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docker/stop_demo.sh b/docker/stop_demo.sh
new file mode 100755
index 0000000..27bee9e
--- /dev/null
+++ b/docker/stop_demo.sh
@@ -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