diff --git a/bin/kyuubi b/bin/kyuubi index 9984825c9..02672323f 100755 --- a/bin/kyuubi +++ b/bin/kyuubi @@ -23,6 +23,7 @@ function usage() { echo "Usage: bin/kyuubi command" echo " commands:" echo " start - Run a Kyuubi server as a daemon" + echo " restart - Restart Kyuubi server as a daemon" echo " run - Run a Kyuubi server in the foreground" echo " stop - Stop the Kyuubi daemon" echo " status - Show status of the Kyuubi daemon" @@ -202,6 +203,12 @@ case $1 in start_kyuubi ;; + (restart) + echo "Restarting Kyuubi" + stop_kyuubi + start_kyuubi + ;; + (run) run_kyuubi ;;