[ https://issues.apache.org/jira/browse/HIVE-16973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089285#comment-16089285 ]
Hive QA commented on HIVE-16973: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12877502/HIVE-16973.006-master.patch {color:green}SUCCESS:{color} +1 due to 4 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 12 failed/errored test(s), 11068 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[materialized_view_create_rewrite] (batchId=238) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=143) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_dynamic_partition_pruning] (batchId=167) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_dynamic_partition_pruning_2] (batchId=169) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_explainuser_1] (batchId=168) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_use_op_stats] (batchId=167) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_use_ts_stats_for_mapjoin] (batchId=168) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_vectorized_dynamic_partition_pruning] (batchId=167) org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_2] (batchId=99) org.apache.hive.hcatalog.api.TestHCatClient.testPartitionRegistrationWithCustomSchema (batchId=178) org.apache.hive.hcatalog.api.TestHCatClient.testPartitionSpecRegistrationWithCustomSchema (batchId=178) org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation (batchId=178) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/6057/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6057/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6057/ Messages: {noformat} 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: 12 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12877502 - PreCommit-HIVE-Build > Fetching of Delegation tokens (Kerberos) for AccumuloStorageHandler fails in > HS2 > -------------------------------------------------------------------------------- > > Key: HIVE-16973 > URL: https://issues.apache.org/jira/browse/HIVE-16973 > Project: Hive > Issue Type: Bug > Components: Accumulo Storage Handler > Reporter: Josh Elser > Assignee: Josh Elser > Fix For: 3.0.0 > > 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, HIVE-16973.004-master.patch, > HIVE-16973.005-master.patch, HIVE-16973.006-master.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: java.io.IOException: Failed to unwrap AuthenticationToken > at > org.apache.hadoop.hive.accumulo.HiveAccumuloHelper.unwrapAuthenticationToken(HiveAccumuloHelper.java:312) > > at > org.apache.hadoop.hive.accumulo.mr.HiveAccumuloTableInputFormat.getSplits(HiveAccumuloTableInputFormat.java:122) > > {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 (v6.4.14#64029)