wForget opened a new issue #1417:
URL: https://github.com/apache/incubator-kyuubi/issues/1417


   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the bug
   
   An exception occurred while executing the bin/kyuubi-ctl list server command.
   
   Error message:
   ```
   21/11/18 17:43:54 ERROR client.ServiceDiscovery: Failed to get service node 
info
   java.lang.ArrayIndexOutOfBoundsException: 1
       at 
org.apache.kyuubi.ha.client.ServiceDiscovery$.$anonfun$getServiceNodesInfo$2(ServiceDiscovery.scala:194)
       at 
scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
       at 
scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
       at 
scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
       at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
       at scala.collection.TraversableLike.map(TraversableLike.scala:286)
       at scala.collection.TraversableLike.map$(TraversableLike.scala:279)
       at scala.collection.AbstractTraversable.map(Traversable.scala:108)
       at 
org.apache.kyuubi.ha.client.ServiceDiscovery$.getServiceNodesInfo(ServiceDiscovery.scala:189)
       at 
org.apache.kyuubi.ctl.ServiceControlCli.getServiceNodes(ServiceControlCli.scala:138)
       at 
org.apache.kyuubi.ctl.ServiceControlCli.$anonfun$list$1(ServiceControlCli.scala:127)
       at 
org.apache.kyuubi.ctl.ServiceControlCli.$anonfun$list$1$adapted(ServiceControlCli.scala:122)
       at 
org.apache.kyuubi.ha.client.ZooKeeperClientProvider$.withZkClient(ZooKeeperClientProvider.scala:81)
       at 
org.apache.kyuubi.ctl.ServiceControlCli.list(ServiceControlCli.scala:122)
       at 
org.apache.kyuubi.ctl.ServiceControlCli.doAction(ServiceControlCli.scala:68)
       at 
org.apache.kyuubi.ctl.ServiceControlCli$$anon$1.doAction(ServiceControlCli.scala:208)
       at 
org.apache.kyuubi.ctl.ServiceControlCli$.main(ServiceControlCli.scala:217)
       at org.apache.kyuubi.ctl.ServiceControlCli.main(ServiceControlCli.scala)
   ```
   
   ### Affects Version(s)
   
   master
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   ```yaml
   kyuubi.authentication   KERBEROS
   kyuubi.ha.zookeeper.publish.configs true
   ```
   
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   When kerberos authentication is turned on, the data registered by the kyuubi 
server in Zookeeper changes. See #1175 .
   
   
![image](https://user-images.githubusercontent.com/17894939/142572962-6e47ad3a-7978-4103-ad7b-19c2dce05fc9.png)
   
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


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


Reply via email to