iwasakims commented on code in PR #1292:
URL: https://github.com/apache/bigtop/pull/1292#discussion_r1718322116


##########
provisioner/docker/docker-hadoop.sh:
##########
@@ -215,7 +215,11 @@ destroy() {
         echo "No cluster exists!"
     else
         get_nodes
-        docker exec ${NODES[0]} bash -c "umount /etc/hosts; rm -f /etc/hosts"
+        if [ -z ${NODES} ]; then
+          echo "No cluster running, but provision id is exists."

Review Comment:
    How about `"No cluster is running but .provision_id exists."` ? 
@yamasakisua 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to