...
Info | ||
---|---|---|
| ||
Introduced in Hive version 0.11. See HIVE-2935. |
How to Configure
Configuration Properties in the hive-site.xml
File
Panel |
---|
hive.server2.thrift.min.worker.threads – Minimum number of worker threads, default 5. |
Optional Environment Settings
Panel |
---|
HIVE_SERVER2_THRIFT_BIND_HOST – Optional TCP host interface to bind to. Overrides the configuration file setting. |
How to Start
Code Block |
---|
$HIVE_HOME/bin/hiveserver2 |
...
Code Block |
---|
$HIVE_HOME/bin/hive --service hiveserver2 |
Authentication/Security Configuration
HiveServer2 supports Anonymous (no authentication), Kerberos, pass through LDAP and pluggable custom authentication.
...
Changes in HIVE-4911, which is available in Hive 0.12, enable integrity protection and confidentiality protection (beyond just the default of authentication) for communication between the Hive JDBC driver and HiveServer2. You can use the SASL QOP property to configure this.
- This is only when Kerberos is used for the HS2 client (JDBC/ODBC application) authentication with HiveServer2.
- hive.server2.thrift.sasl.qop in
hive-site.xml
has to be set to one of the valid QOP values ('auth', 'auth-int' or 'auth-conf').