Perl-Hadoop / Thrift-API-HiveClient2

Perl to HiveServer2 Thrift API wrapper
4 stars 7 forks source link

Adding support for delegation token authentication #9

Closed akonale closed 6 years ago

akonale commented 6 years ago

This is to support hiveclient in oozie using delegation tokens. Internally delegation token authentication is done using DIGEST-MD5 sasl mechanism. And the parameters are passed using the username, password extracted from delegation token. Also removed hardcoding of service names, which should be ideally read from kerberos principal in case of GSSAPI auth, and specifically set to null in case of DIGEST auth.

akonale commented 6 years ago

Hi, Feedback changes have been incorporated. Could you please reveiw it ? Thanks