How to connect to Impala + Kerberos with Ruby
This is a working example of how to connect to Impala via Kerberos using Ruby. It uses the impala gem.
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: