Did you tried jdbc:hive2://<ZOOKEEPER QUORUM>/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver;principal=hive/_h...@example.com;transportMode=http;httpPath=cliservice
On 18 Jan 2017, 12:40 PM +0800, Amin Abbaspour <a...@consultants.datarepublic.io>, wrote: > > Hi, > > > In case of HA JDBC connectivity to multiple Hive servers with ZooKeeper > discovery, what’s the correct value for principal’s hostname attribute? > > > > jdbc:hive2://zookeeper_quorum/;serviceDiscoveryMode=zookeeper;zooKeeperNamespace=hiveserver2;princpal=hive/????@REALM > > > > In normal JDBC we have the thrift server hostname but here it is not known > initially and is discovered by zookeeper. > > > > Regards, > Amin > >