pan3793 commented on code in PR #7232:
URL: https://github.com/apache/kyuubi/pull/7232#discussion_r2464488550
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/ApiUtils.scala:
##########
@@ -136,6 +137,22 @@ object ApiUtils extends Logging {
"Running")
}
+ def serverEvent(serverEvent: KyuubiServerInfoEvent): KyuubiServerEvent = {
+ if (serverEvent == null) return new KyuubiServerEvent()
+ new KyuubiServerEvent(
+ serverEvent.serverName,
+ serverEvent.startTime,
+ serverEvent.eventTime,
+ serverEvent.state,
+ serverEvent.serverIP,
+ serverEvent.serverConf.asJava,
+ serverEvent.serverEnv.asJava,
Review Comment:
BTW, I remember there was a similar discussion about retrieving batch info
--
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]