cxzl25 commented on pull request #1175:
URL: https://github.com/apache/incubator-kyuubi/pull/1175#issuecomment-930017723


   > Kyuubi supports Kerberos authentication already, what will these magic 
configurations help?
   
   Use the command
   ```
   bin/beeline -u 
"jdbc:hive2://Zookeeper/default;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=kyuubi"
   ```
   Get error
   ```
   21/09/28 19:03:39 ERROR Utils: Unable to read HiveServer2 configs from 
ZooKeeper
   Unknown HS2 problem when communicating with Thrift server.
   Error: Could not open client transport for any of the Server URI's in 
ZooKeeper: Peer indicated failure: Unsupported mechanism type PLAIN 
(state=08S01,code=0)
   java.sql.SQLException: Could not open client transport for any of the Server 
URI's in ZooKeeper: Peer indicated failure: Unsupported mechanism type PLAIN
        at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:224)
   ```
   
   Similar to this configuration and function introduced by Hive    
   https://issues.apache.org/jira/browse/HIVE-11581  
   HIVE-11581: HiveServer2 should store connection params in ZK when using 
dynamic service discovery for simpler client connection string
   
   
   
   
   


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