Support Questions

Find answers, ask questions, and share your expertise

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

avatar

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

avatar
Expert 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.

avatar
Master 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