Reply
Explorer
Posts: 39
Registered: ‎04-13-2017

Re: Impala queries through impala JDBC is running with empty user

Interestingly, though many people in this thread are complaining of the same issue, no one has posted an error message that shows the correct syntax as outlined by the manual in the link from @Lars Volker.

 

Specifically, the manual shows the syntax for the connection string with a username (and no password) should be using AuthMech=2:

 

jdbc:impala://node1.example.com:21050;AuthMech=2;UID=impala

At least for me, this "resolved" the issue because now I am trying to debug a connection timeout.  So I guess that is progress :/

Expert Contributor
Posts: 332
Registered: ‎01-25-2017

Re: Impala queries through impala JDBC is running with empty user

@epowell Apologize me, it's my fault since i solved it using auth mechanism 6 and didn't update the thread.

Highlighted
Explorer
Posts: 39
Registered: ‎04-13-2017

Re: Impala queries through impala JDBC is running with empty user

AuthMech=6?  I don't see that in the manual as an option.  Can you please post your full connection string?  Thanks

Announcements