Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Cloudera Hive Kerberos with SSL failing

avatar
New Contributor

Hi All,

 

 We have developed Java Application to extract the data from hive database. Currently hive2 server is enabled with kerberos and SSL. In our application we are using Cloudera Drive

com.cloudera.hive.jdbc41.HS2Driver

The application is running in Linux and installed Kerberos client as well. Before application triggers, script will perform knit to generate the token. Below is the connection String

 

"jdbc:hive2://servername:10000/databasename;SSL=1;SSLTrustStore=path;AuthMeth=1;KrbHostFQDN=<krbhostFQDN>;KrbServiceName=<krbservicename>;KrbRealm=<krbrealm>"

 

Application is unable to connect and throwing error message as shown in below. 

 

error.JPG

 

Really appreciate for any help. Thanks!

 

 

 

 

1 REPLY 1

avatar
Expert Contributor

Hello Team,

 

First thing, are you able to connect to HS2 from any of the edge node? If that is connecting successfully, could you share the same to ensure we form the right connection string here.

 

Also, could you attach the trace logs here and HS2 logs parallelly at the same as well.