Configuring Wire Encryption
Also available as:
PDF
loading table of contents...

Connect to SSL-Enabled HiveServer2 using JDBC

How to connect to SSL-enabled HiveServer2 using JDBC.

HiveServer2 implemented encryption with the Java SASL protocol's quality of protection (QOP) setting that allows data moving between a HiveServer2 over JDBC and a JDBC client to be encrypted.
Tip
Tip

See HIVE-4911 for more details on this enhancement.

From the JDBC client specify sasl.sop as part of the JDBC-Hive connection string.
jdbc:hive://hostname/dbname;sasl.qop=auth-int