Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Connection URL when SSL is enabled in HiveServer2

JDBC connection URL:  jdbc:hive2://<host>:<port>/<db>;ssl=true;sslTrustStore=<trust_store_path>;trustStorePassword=<trust_store_password>, where:

  • <trust_store_path> is the path where client's truststore file lives.
  • <trust_store_password> is the password to access the trustore.

In HTTP mode:  jdbc:hive2://<host>:<port>/<db>;ssl=true;sslTrustStore=<trust_store_path>;trustStorePassword=<trust_store_password>?hive.server2.transport.mode=http;hive.server2.thrift.http.path=<http_endpoint>, where:<http_

...

endpoint

...

.

Using JDBC

You can use JDBC to access data stored in a relational database or other tabular format.

...