turboFei commented on code in PR #2766:
URL: https://github.com/apache/incubator-kyuubi/pull/2766#discussion_r884093385


##########
kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/ServiceControlCli.scala:
##########
@@ -17,33 +17,12 @@
 
 package org.apache.kyuubi.ctl
 
-import scala.collection.mutable.ListBuffer
-
 import org.apache.kyuubi.Logging
-import org.apache.kyuubi.config.KyuubiConf.{ENGINE_SHARE_LEVEL, 
ENGINE_SHARE_LEVEL_SUBDOMAIN, ENGINE_TYPE}
-import org.apache.kyuubi.ha.HighAvailabilityConf._
-import org.apache.kyuubi.ha.client.{DiscoveryClientProvider, ServiceNodeInfo}
-import org.apache.kyuubi.ha.client.DiscoveryClient
-import org.apache.kyuubi.ha.client.DiscoveryPaths
-
-private[ctl] object ServiceControlAction extends Enumeration {
-  type ServiceControlAction = Value
-  val CREATE, GET, DELETE, LIST = Value
-}
-
-private[ctl] object ServiceControlObject extends Enumeration {
-  type ServiceControlObject = Value
-  val SERVER, ENGINE = Value
-}
 
 /**
  * Main gateway of launching a Kyuubi Ctl action.
  */
 private[kyuubi] class ServiceControlCli extends Logging {

Review Comment:
   should we rename ServiceControlCli* => ControlCli* in this PR?
   Because it will not be only for service control.



-- 
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]

Reply via email to