Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: specifying configs that needs to be set for different authentication modes

...

Panel

hive.server2.authentication – Authentication mode, default NONE. Options are NONE, NOSASL, KERBEROS, LDAP, PAM and CUSTOM.

Set following for KERBEROS mode :

hive.server2.authentication.kerberos.principal – Kerberos principal for server.

hive.server2.authentication.kerberos.keytab – Keytab for server principal.

Set following for LDAP mode :

hive.server2.authentication.ldap.url – LDAP URL.

hive.server2.authentication.ldap.baseDN – LDAP base DN. (Optional for AD)

Set following for CUSTOM mode :

hive.server2.custom.authentication.class – Custom authentication class that implements the org.apache.hive.service.auth.PasswdAuthenticationProvider interface.

For PAM mode, see details in section on PAM below.

Impersonation

By default HiveServer2 performs the query processing as the user who submitted the query. But if the following parameter is set to false, the query will run as the user that the hiveserver2 process runs as.

...