hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manikumar (JIRA)" <>
Subject [jira] [Created] (HIVE-16708) Exception while renewing a Delegation Token
Date Thu, 18 May 2017 11:27:04 GMT
Manikumar created HIVE-16708:

             Summary: Exception while renewing a Delegation Token
                 Key: HIVE-16708
             Project: Hive
          Issue Type: Bug
            Reporter: Manikumar

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.

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/ tries to renew a token
with renewer hive)
	at org.apache.hive.hcatalog.api.HCatClientHMSImpl.renewDelegationToken(

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:

Let me know If I am missing something. 

This message was sent by Atlassian JIRA

View raw message