Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

apache hive didn't work after enable ssl, Hiverserver2 failed

apache hive didn't work after enable ssl, Hiverserver2 failed

i'm using normal Hive cluster in ambari-server with ranger, after i enable SSL in hive hiveserver2 failed and i'm not able to access the cluster using 10000 port ERROR: thrift.transport.TTransport.TTransportException: Could not connect to any of [('10.0.0.198', 10000)]

2 REPLIES 2
Highlighted

Re: apache hive didn't work after enable ssl, Hiverserver2 failed

Contributor

@ParthiCyberPunk 

 

Could you please update the connection string being used here. just share the console/putty output while making a connection and corresponding Hiveserver2 log/stacktrace during the time on connection.

 

notee: please ensure hiveserver2 service is up and running post enabling ssl.

Highlighted

Re: apache hive didn't work after enable ssl, Hiverserver2 failed

Mentor

@ParthiCyberPunk 

Unfortunately, you didn't share the connect string. below is an example you could use

jdbc:hive2://host:10000/DB_name;ssl=true;sslTrustStore=$JAVA_HOME/jre/lib/security/certs_name;trustStorePassword=$password

Substitute  host,port, truststore location and certificate name and password accordingly. Keep me posted

 

 

Don't have an account?
Coming from Hortonworks? Activate your account here