forward3d / rbhive

Ruby gem for querying Apache Hive
http://www.forward3d.com
MIT License
98 stars 74 forks source link

SASL/GSSAPI (Kerberos) support #23

Closed grisha closed 2 years ago

grisha commented 10 years ago

This patch should provide Kerberos connectivity. At least it works for me - this was relatively tricky to figure out, hopefully people will find it useful.

grisha commented 10 years ago

(Apologies for my emacs automatically removing trailing blanks!)

lloydpick commented 10 years ago

Is there a particular reason for changing the Thrift dependency? As it was locked so that jruby installations wouldn't break. If they use 0.9.1 it drags in Thin as another dependency causing all hell to break loose.

grisha commented 10 years ago

None other than I've only tested this with 0.9.1.

IMHO a better way to address the thrift 0.9.1 problem for jruby users is for them to include gem 'thrift', '0.9.0' in their Gemfile(s), which effectively locks it.

dkonayuki commented 8 years ago

Is there any plans to merge this pull request? I really need to be able to use Kerberos authentication. (with a keytab)