Member since
04-12-2018
3
Posts
0
Kudos Received
0
Solutions
05-01-2018
08:55 PM
I finally got back to this and with a fresh set of eyes (because I'd forgotten much of what I had done previous) discovered that zookeeper dynamic service discovery was likely what was causing me grief. Once I disabled it I am able to establish the connection using beeline. I did search online to see if there was a way to keep the zookeeper feature active AND use HiveServer2 SSL, but couldn't find evidence that anybody has attempted it. It's not critical at the moment, but if anybody knows what it might take to get that to work, please pass the info along. I don't think I need to enable zookeeper SSL. The JDBC connection string when zookeeper dynamic service discovery is enabled looks something like this: jdbc:hive2://my.pretend.host.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 Should it just be a matter of appending the same ssl options that I use when connecting without dynamic service discovery enabled? ;ssl=true;sslTrustStore=/path/to/client.truststore.pfx;trustStorePassword=temp4now
... View more