hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-16973) Fetching of Delegation tokens (Kerberos) for AccumuloStorageHandler fails in HS2
Date Mon, 10 Jul 2017 20:26:00 GMT


Hive QA commented on HIVE-16973:

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 due to 4 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 9 failed/errored test(s), 10582 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[comments] (batchId=35)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[explaindenpendencydiffengs] (batchId=38)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=142)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[orc_ppd_basic] (batchId=139)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[explaindenpendencydiffengs] (batchId=115)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[vectorized_ptf] (batchId=125) (batchId=228) (batchId=217)
org.apache.hive.hcatalog.api.TestHCatClient.testTransportFailure (batchId=176)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 9 tests failed

This message is automatically generated.

ATTACHMENT ID: 12876479 - PreCommit-HIVE-Build

> 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, HIVE-16973.002.branch-2.patch, HIVE-16973.003.branch-2.patch,
HIVE-16973.004-branch-2.patch, HIVE-16973.004.branch-2.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