Hive - Authentication

Card Puncher Data Processing


What is Authentication, known also as Access control, Identification, or AuthN?


hive.server2.authentication - property

  • NONE: no authentication check – plain SASL transport
  • LDAP: LDAP/AD based authentication
  • KERBEROS: Kerberos/GSSAPI authentication
  • CUSTOM: Custom authentication provider (use with property hive.server2.custom.authentication.class)
  • PAM: Pluggable authentication module (added in Hive 0.13.0 with HIVE-6466)
  • NOSASL: Raw transport (added in Hive 0.13.0)


URI Connection example:

beeline> !connect jdbc:hive2://;transportMode=http user ""


  • user can be anything
  • “” is the password and can be anything



See conf properties, beginning with hive.server2.authentication

Documentation / Reference

Discover More
Hive Kerberos Odbc Windows
Hive - Kerberos Authentication

kerberos in Hive in order to authenticate Install kerberos: Install the odbc driver Configure it where: host fqdn is the fully qualified name of the hive server host and must be reachable....
Card Puncher Data Processing
Hive - Security

in Hive

Share this page:
Follow us:
Task Runner