[ 
https://issues.apache.org/jira/browse/HIVE-16708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16263925#comment-16263925
 ] 

Hive QA commented on HIVE-16708:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12898990/HIVE-16708.01-branch-2.patch

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

{color:red}ERROR:{color} -1 due to 10 failed/errored test(s), 10661 tests 
executed
*Failed tests:*
{noformat}
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.TestMiniLlapCliDriver.testCliDriver[table_nonprintable]
 (batchId=140)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_acid_non_acid]
 (batchId=158)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats]
 (batchId=153)
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[merge_negative_5]
 (batchId=88)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[explaindenpendencydiffengs]
 (batchId=115)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[vectorized_ptf] 
(batchId=125)
org.apache.hive.hcatalog.api.TestHCatClient.testTransportFailure (batchId=176)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/7983/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/7983/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-7983/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 10 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12898990 - PreCommit-HIVE-Build

> Exception while renewing a Delegation Token
> -------------------------------------------
>
>                 Key: HIVE-16708
>                 URL: https://issues.apache.org/jira/browse/HIVE-16708
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Manikumar
>            Assignee: Vihang Karajgaonkar
>         Attachments: HIVE-16708.01-branch-2.patch
>
>
> I am adding support to Storm Hive Bolt to access Hive meta-store using 
> delegation tokens. I am able to create and cancel delegation tokens using 
> HCatClient. I am getting below exception while renewing a delegation token.
> Exception:
> org.apache.hive.hcatalog.common.HCatException: 
> org.apache.hive.hcatalog.common.HCatException : 9001 : Exception occurred 
> while processing HCat request : MetaException while renewing delegation 
> token.. Cause : MetaException(message:hive/[email protected] tries 
> to renew a token with renewer hive)
>       at 
> org.apache.hive.hcatalog.api.HCatClientHMSImpl.renewDelegationToken(HCatClientHMSImpl.java:643)
>  ~[hive-webhcat-java-client-0.14.0.jar:0.14.0]
>       
> Hadoop's AbstractDelegationTokenIdentifier sets the renewer to Kerberos short 
> name but HCatCleint.renewDelegationToken uses the fullName. This causes the 
> renewal to fail.
> Relevant parts of code: 
> https://github.com/apache/hive/blob/master/shims/common/src/main/java/org/apache/hadoop/hive/thrift/DelegationTokenSecretManager.java#L96
> https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java#L105
> Let me know If I am missing something. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to