- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
apache hive didn't work after enable ssl, Hiverserver2 failed
- Labels:
-
Apache Hive
Created ‎10-23-2020 10:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)]
Created ‎10-25-2020 12:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎10-26-2020 02:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
