Skip to content

Error connecting to Impala with LDAP Enabled #6

@puneetduain

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: [email protected]
W0907 13:16:10.198251 9956 authentication.cc:245] LDAP authentication failure for [email protected] : 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

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