Enable LDAP Authentication

To enable LDAP mode of authentication using Active Directory for HiveServer2 for Warehouse data source, follow these steps.

  1. Log on to the RSA Analytics Warehouse appliance as root user.
  2. Navigate to /opt/mapr/hive/hive-0.11/conf.new/ directory. Type the following command and press ENTER:

    cd /opt/mapr/hive/hive-0.11/conf.new/

  3. Edit the file hive-site.xml. Type the following command and press ENTER:

    vi hive-site.xml

  4. Add the following properties under <Configuration> tag:
    <property> <name>hive.server2.authentication</name> <value>LDAP</value> </property> <property> <name>hive.server2.authentication.ldap.url</name> <value>LDAP_URL</value> </property>
    Where LDAP_URL is the URL of the LDAP Server.
  5. Restart HiveServer2.