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 "Wilfred Spiegelenburg (JIRA)" <ji...@apache.org> on 2018/10/10 06:43:00 UTC

[jira] [Created] (YARN-8865) RMStateStore contains large number of expired RMDelegationToken

Wilfred Spiegelenburg created YARN-8865:
-------------------------------------------

             Summary: RMStateStore contains large number of expired RMDelegationToken
                 Key: YARN-8865
                 URL: https://issues.apache.org/jira/browse/YARN-8865
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
    Affects Versions: 3.1.0
            Reporter: Wilfred Spiegelenburg
            Assignee: Wilfred Spiegelenburg


When the RM state store is restored expired delegation tokens are restored and added to the system. These expired tokens do not get cleaned up or removed. The exact reason why the tokens are still in the store is not clear. We have seen as many as 250,000 tokens in the store some of which were 2 years old.

This has two side effects:
* for the zookeeper store this leads to a jute buffer exhaustion issue and prevents the RM from becoming active.
* restore takes longer than needed and heap usage is higher than it should be

We should not restore already expired tokens since they cannot be renewed or used.



--
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