Step 1:
Add below line in impala env.sh
[root@mfs022 ~]# vim /opt/mapr/impala/impala-1.4.1/conf/env.sh
IMPALA_SERVER_ARGS=
-enable_ldap_auth \
-ldap_uri ldap://adp034.tuxhub.com:389 \
-ldap_bind_pattern "uid=#UID,ou=Users,dc=tuxhub,dc=com" \
Step 2 :
Connect to imapla shell
[root@mfs022 ~]# impala-shell -l -u nitin
Starting Impala Shell using LDAP-based authentication
LDAP password for nitin:
Connected to mfs022.tuxhub.com:21000
Server version: impalad version 1.4.1 RELEASE (build 2b626c8e9f4c666d23872c228cf43daae4c9acbb)
Welcome to the Impala shell. Press TAB twice to see a list of available commands.
Copyright (c) 2012 Cloudera, Inc. All rights reserved.
(Shell build version: Impala Shell v1.4.1 (2b626c8) built on Thu Feb 5 14:53:44 PST 2015)
[mfs022.tuxhub.com:21000] >
No comments:
Post a Comment