Support Questions

Find answers, ask questions, and share your expertise

YARN : Failed to renew token: Kind: kms-dt When run hive command

avatar

When I run hive command on edgenode . It throw error :

Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.TezException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1553260029610_0007 to YARN : Failed to renew token: Kind: kms-dt, Service: x.x.x.x:9292, Ident: (owner=hive, renewer=yarn, realUser=, issueDate=1553261492662, maxDate=1553866292662, sequenceNumber=3, masterKeyId=2)

-- x.x.x.x refer to RANGER KMS server


Please help me to fix. Thank you in advance 🙂

2 REPLIES 2

avatar

@Jay Kumar SenSharma : Can you help me ?

avatar
Expert Contributor

@wilailak_don 

 

Add the property "tez.cancel.delegation.tokens.on.completion=false" in Custom tez-site and custom hive-site and custom hiveserver2-site via Ambari and restart Hive/Tez services.

Let me know how it goes.