Skip to content

With Hive JDBC Drive,I connect to Kyuubi by service discovery mode and return the hive address? #1465

Answered by cfmcgrady
winfys asked this question in Q&A
Discussion options

You must be logged in to vote

zooKeeperNamespace is case-sensitive. please try

Class.forName("org.apache.kyuubi.jdbc.KyuubiDriver");
Connection conn = DriverManager.getConnection("jdbc:hive2://xxx.xxx.xxx.xxx:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=kyuubi","test","test");

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@winfys
Comment options

@pan3793
Comment options

@winfys
Comment options

@pan3793
Comment options

Comment options

You must be logged in to vote
4 replies
@pan3793
Comment options

@cfmcgrady
Comment options

@yaooqinn
Comment options

@winfys
Comment options

Answer selected by pan3793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants