colinmarc / colinmarc/impala-ruby

impala-ruby AuthorizationException

Open
#25 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Thrift
Stars
34
Forks
20
PR merge metrics
No merged PRs in 30d

Description

I am trying to connect a ruby application to Impala and I am having the following issues.

Can connect and can run the commands "SHOW DATABASES", "SHOW CURRENT ROLES" but no other commands will run successfully.

Versions Used:
impala-ruby 0.5.1 and all dependencies
Impala 2.9 on CDH 5.12

Example use case:

conn = Impala.connect('HOST_NAME', 21000, {sasl: {:username=>"username", :password=>"password"}})

conn.query("SELECT * from ")

Error:

, errorCode:0, SQLState:"42000">

I have Sentry enabled but privileges are set correctly and I am able to connect and runs commands using the impala-shell, Hue and the Impala Python library impyla. Kerberos is not enabled.

Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported conn.query SELECT with impala-ruby 0.5.1, Impala 2.9 on CDH 5.12, Sentry enabled, and the shown SASL credentials. Compare the authorization behavior with impala-shell, Hue, and impyla; done means identifying and documenting why the Ruby client receives [PLAIN] and correcting or clearly isolating that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.