Support Questions
Find answers, ask questions, and share your expertise

Hdfs delegation token issue for all service users

I am trying to run jobs from different hadoop services like hive , spark , falcon but I am getting hdfs delegation token can not be found in cache ?

3 REPLIES 3

Mentor

@Anurag Mishra

That means you don't have a valid kerberos ticket. Can you do the following as oot

# su - hive

Check whether you have a valid kerberos ticket

$ klist

Ans share the output else grab a ticket and retry.

@Anurag Mishra

You need to have a valid kerberos ticket before running any commands in a kerberized cluster - To get valid ticket you issue

kinit username@REALM

or if you like to use a SPN keytab

kinit -kt keytab principal@REALM

Having that said I recommend you go over this great post that explains the delegation tokens in detail:

https://community.hortonworks.com/articles/50069/demystifying-delegation-token.html

HTH

*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.

New Contributor

anyone who are willing to visit NY for any kind of work for their career they can take our service from the air port of NY called shuttle service westchester which will be very comfort for your trip in NY.