Member since
03-08-2020
2
Posts
0
Kudos Received
0
Solutions
03-19-2020
06:57 PM
Hi,
I was provided with the following connection which is successful in beeline:
beeline -u
jdbc:hive2://<quorum>:2181,<quorum>:2181,<quarum>2181/;serviceDiscoveryMode=zooKeeperHA;zooKeeperNamespace=hs2ActivePassiveHA;transportMode=binary;principal=hive/_HOST@<domain>;ssl=true;sslTrustStore=/sslcert/hadoop_truststore.jks;trustStorePassword=
I am trying to use Cloudera JDBC Driver for Apache Hive to connect to the above connection. May i know how do i structure the URI for hte JDBC driver?
... View more
- Tags:
- hive-jdbc
Labels:
03-08-2020
08:54 PM
May i know what are the possible options for this property serviceDiscoveryMode ? or is ' serviceDiscoveryMode=zooKeeper' the only way to declare this property when service discovery is enabled. As far as my research on this issue goes, this seems like a binary option where you either declare this property, or remove is when service discover it not enabled.
I have a connection that was provided to me from the hive team with a URI connection string stating serviceDiscoveryMode=zooKeeperHA and we are not able to connect.
I would like to confirm if there is such a possible option for this property name to be changed to zooKeeperHA, or is this somewhat a mistake configuration from the hive team.
... View more
- Tags:
- Hive
Labels: