Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connecting to Impala with LDAP Enabled #6

Open
puneetduain opened this issue Sep 7, 2015 · 1 comment
Open

Error connecting to Impala with LDAP Enabled #6

puneetduain opened this issue Sep 7, 2015 · 1 comment

Comments

@puneetduain
Copy link

library("RODBC");
conn <- odbcConnect("Impala","xyz");
Warning messages:
1: In odbcDriverConnect("DSN=Impala;UID=xyz") :
[RODBC] ERROR: state HY000, code 5, message [unixODBC][Cloudera]ThriftExtension Error occurred while contacting server: No more data to read.. This could be because you are trying to establish a non-SSL connection to a SSL-enabled server.
2: In odbcDriverConnect("DSN=Impala;UID=xyz") :
ODBC connection failed

I0907 13:16:10.186802 9956 authentication.cc:238] Trying simple LDAP bind for: xyz@reg1.uat1.com
W0907 13:16:10.198251 9956 authentication.cc:245] LDAP authentication failure for xyz@reg1.uat1.com : Invalid credentials
E0907 13:16:10.198326 9956 authentication.cc:148] SASL message (LDAP): Password verification failed
I0907 13:16:10.198475 9956 thrift-util.cc:109] TThreadPoolServer: TServerTransport died on accept: SASL(-13): user not found: Password verification failed

odbc.ini

They can also be specified on the connection string.

HOST=10.92.111.122
PORT=21050
Database=default
AuthMech=2

The username and password supplied is correct. When I try using impala-shell, it works

Thanks

@puneetduain
Copy link
Author

Also, please confirm if RImpala supports LDAP Integration. It is mentioned (and the code) caters for Kerberos, but probably does not support LDAP Integration. Please confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant