Configure HiveServer2 to use LDAP Authentication with OpenLDAP

  1. Configure the following properties in the hive-site.xml file on each node where HiveServer2 is installed:
    Property Value
    hive.server2.authentication LDAP
    hive.server2.authentication.ldap.url The access URL for your LDAP server
    hive.server2.authentication.ldap.baseDN The base LDAP DN for your LDAP server. For example, ou=People,dc=mycompany,dc=com.
      <value><LDAP URL></value>
      <value><LDAP Base DN></value>
  2. Restart HiveServer2 to apply these changes.
    maprcli node services -name hs2 -action restart -nodes <comma separated list of nodes>