yaooqinn commented on code in PR #2345:
URL: https://github.com/apache/incubator-kyuubi/pull/2345#discussion_r849074401
##########
docs/deployment/high_availability_guide.md:
##########
@@ -85,10 +85,24 @@ bin/beeline -u
'jdbc:hive2://10.242.189.214:2181/;serviceDiscoveryMode=zooKeeper
## How to Hot Upgrade Kyuubi Server
-Kyuubi supports hot upgrade one of server in a HA cluster which is transparent
to users. For example, if you want to upgrade a Kyuubi server at host
`kyuubi.host` with port `10009`, you can run the following cmd using
`bin/kyuubi-ctl`:
+Kyuubi supports hot upgrade one of server in a HA cluster which is transparent
to users.
-```shell
-./bin/kyuubi-ctl delete server --host "kyuubi.host" --port "10009"
-```
+- If you have specified a custom port for Kyuubi server
+
+ For example, the Kyuubi server started at host `kyuubi.host` with port
`10009`, you can run the following cmd using `bin/kyuubi-ctl`:
+
+ ```shell
+ ./bin/kyuubi-ctl delete server --host "kyuubi.host" --port "10009"
+ ```
+
+ Kyuubi server will stop until all session closed, and then you can start a
new Kyuubi server.
+
+- If you use a random port for Kyuubi server
+
+ You can just start the new Kyuubi Server, then runing cmd using
`bin/kyuubi-ctl`:
+
+ ```shell
+ ./bin/kyuubi-ctl delete server --host "kyuubi.host" --port
"${port_for_old_Kyuubi_server}"
Review Comment:
it's better to doc how can we get port_for_old_Kyuubi_server
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]