[KYUUBI #1660] Add restart option for bin/kyuubi
- Add restart option for bin/kyuubi This closes #1660 Closes #1752 from Narcasserun/shell_restart. Closes #1660 6e86f171 [mask] [KYUUBI #1660] Add restart option for bin/kyuubi 15203a06 [mask] [KYUUBI #1660] Add restart option for bin/kyuubi Authored-by: mask <Narcasserun@hotmail.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
37e17f206f
commit
dfd9f9438e
@ -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
|
||||
;;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user