You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sanjay Divgi (JIRA)" <ji...@apache.org> on 2018/08/07 10:19:00 UTC

[jira] [Created] (YARN-8631) YARN RM fails to add the application to the delegation token renewer on recovery

Sanjay Divgi created YARN-8631:
----------------------------------

             Summary: YARN RM fails to add the application to the delegation token renewer on recovery
                 Key: YARN-8631
                 URL: https://issues.apache.org/jira/browse/YARN-8631
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn
    Affects Versions: 3.1.0
            Reporter: Sanjay Divgi
         Attachments: hadoop-yarn-resourcemanager-ctr-e138-1518143905142-429059-01-000004.log

On HA cluster we have observed that yarn resource manager fails to add the application to the delegation token renewer on recovery.

Below is the error:
{code:java}
2018-08-07 08:41:23,850 INFO security.DelegationTokenRenewer (DelegationTokenRenewer.java:renewToken(635)) - Renewed delegation-token= [Kind: TIMELINE_DELEGATION_TOKEN, Service: 172.27.84.192:8188, Ident: (TIMELINE_DELEGATION_TOKEN owner=hrt_qa_hive_spark, renewer=yarn, realUser=, issueDate=1533624642302, maxDate=1534229442302, sequenceNumber=18, masterKeyId=4);exp=1533717683478; apps=[application_1533623972681_0001]]
2018-08-07 08:41:23,855 WARN security.DelegationTokenRenewer (DelegationTokenRenewer.java:handleDTRenewerAppRecoverEvent(955)) - Unable to add the application to the delegation token renewer on recovery.
java.lang.NullPointerException
at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.handleAppSubmitEvent(DelegationTokenRenewer.java:522)
at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.handleDTRenewerAppRecoverEvent(DelegationTokenRenewer.java:953)
at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.access$700(DelegationTokenRenewer.java:79)
at org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer$DelegationTokenRenewerRunnable.run(DelegationTokenRenewer.java:912)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org