hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Updated] (HIVE-16973) Fetching of Delegation tokens (Kerberos) for AccumuloStorageHandler fails in HS2
Date Thu, 29 Jun 2017 21:35:00 GMT


Josh Elser updated HIVE-16973:
    Attachment: HIVE-16973.001.patch

.001 First stab at successful test runs locally with:

* Kerberos
* Local or HiveServer2 execution
* Tested execution engines of local (simple table scan), MapReduce, and Tez.

Need to clean this patch up some more and add some additional tests, but I wanted to get it
off my machine.

> Fetching of Delegation tokens (Kerberos) for AccumuloStorageHandler fails in HS2
> --------------------------------------------------------------------------------
>                 Key: HIVE-16973
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Accumulo Storage Handler
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>         Attachments: HIVE-16973.001.patch
> Had a report from a user that Kerberos+AccumuloStorageHandler+HS2 was broken. Looking
into it, it seems like the bit-rot got pretty bad. You'll see something like the following:
> {noformat}
> Caused by: Failed to unwrap AuthenticationToken 
> at org.apache.hadoop.hive.accumulo.HiveAccumuloHelper.unwrapAuthenticationToken(

> at

> {noformat}
> It appears that some of the code-paths changed since when I first did my testing (or
I just did poor testing) and the delegation token was never being fetched/serialized. There
also are some issues with fetching the delegation token from Accumulo properly which were
addressed in ACCUMULO-4665
> I believe it would also be best to just update the dependency to use Accumulo 1.7 (drop
1.6 support) as it's lacking in this regard. These changes would otherwise get much more complicated
with reflection -- Accumulo has moved on past 1.6, so let's do the same in Hive.

This message was sent by Atlassian JIRA

View raw message