How to connect to Impala + Kerberos with Ruby
Software Engineering
3532 views
This is a working example of how to connect to Impala via Kerberos using Ruby. It uses the impala gem.
Usage
ruby main.rb
On Windows
Note, on Windows, you'll need to install MIT's Kerberos Ticket Manager first. It will need to be properly configured (krb5.ini), and you'll need a valid keytab file. If you run the above Ruby script without first generating a new ticket, the MIT GUI will pop up: