Step 1. Configure the Connection String
If you created the Hive connection when you created cluster configurations, the cluster configuration creation wizard enables access to an SSL-enabled cluster.
If the Hive connection was not created by the cluster configuration wizard, add the following property-value pair to the connection string to each Hive connection object that accesses an SSL-enabled cluster:
ssl=true
For example:
jdbc:hive2://<hostname>:<port>/<db>;ssl=true
Note: Insert the ssl=true flag before the kerberos principal element when you create the Hive connection manually.