Venu Yanamandra created HIVE-20846:

             Summary: beeline does not honor driver mandated key/value pairs 
for uid & pwd.
                 Key: HIVE-20846
             Project: Hive
          Issue Type: Bug
          Components: Beeline
    Affects Versions: 1.1.0
            Reporter: Venu Yanamandra

Please confirm and correct if necessary the expectation that beeline program 
should honor the driver's key/value pairs for UID/PWD.

Steps to reproduce the issue -
1. Download latest Impala JDBC driver from - 
2. Extract, set & export HADOOP_CLASSPATH to: $(hadoop 
3. As per the documentation of the driver, we should be setting up: 
AuthMech=3;UID=<ldap_user>;PWD=<ldap_user_password> for connecting to impala 
jdbc using LDAP. [1]
4. However, beeline is unable to successfully connect.
5. Impala coordinator logs displays the error [2] below.
6. If we however use "user=<ldap_user>;password=<ldap_user_password>" in the 
connection string, it works fine. [3]
7. However, the expectation is that beeline should honor driver's kv pairs for 

Venu Yanamandra
beeline -d "com.cloudera.impala.jdbc41.Driver" -u 

E1024 04:34:52.694922 29833] SASL message (LDAP): 
All-whitespace username.
I1024 04:34:52.696190 29833] TThreadPoolServer: Caught 
TException: SASL(-1): generic failure: All-whitespace username.

beeline -d "com.cloudera.impala.jdbc41.Driver" -u 
 -e "show databases;"

This message was sent by Atlassian JIRA

Reply via email to