4.1. 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.

From the JDBC client specify sasl.sop as part of the JDBC-Hive connection string, for example jdbc:hive://hostname/dbname;sasl.qop=auth-int. For more information on connecting to Hive, see Data Integration Services with HDP, Using Apache Hive: Hive ODBC and JDBC Drivers.

[Tip]Tip

See HIVE-4911 for more details on this enhancement.


loading table of contents...