Enable LDAP Authentication
Enable LDAP AuthenticationEnable LDAP Authentication
To enable LDAP mode of authentication using Active Directory for HiveServer2 for Warehouse data source, follow these steps.
- Log on to the Analytics Warehouse appliance as root user.
-
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/
-
Edit the file hive-site.xml. Type the following command and press ENTER:
vi hive-site.xml
- Add the following properties under
tag:
hive.server2.authentication LDAP hive.server2.authentication.ldap.url LDAP_URL
Where LDAP_URL is the URL of the LDAP Server. - Restart HiveServer2.