Skip to content

Error connecting to Impala with LDAP Enabled #6

Description

@puneetduain

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions