You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ahmed Hussein (Jira)" <ji...@apache.org> on 2020/12/08 17:47:00 UTC

[jira] [Created] (HADOOP-17417) Reduce UGI overhead in token ops

Ahmed Hussein created HADOOP-17417:
--------------------------------------

             Summary: Reduce UGI overhead in token ops 
                 Key: HADOOP-17417
                 URL: https://issues.apache.org/jira/browse/HADOOP-17417
             Project: Hadoop Common
          Issue Type: Improvement
          Components: common, kms, performance, rpc-server, security
            Reporter: Ahmed Hussein
            Assignee: Ahmed Hussein


{{DelegationTokenIdentifier}} has a {{ugiCache}} but  AbstractDelegationTokenManager calls a static method {{getRemoteUser()}} which would bypass the cache.

Performance analysis of the KMS revealed the RPC server layer is creating many and redundant UGI instances.. UGIs are not cheap to instantiate, require synchronization, and waste memory. Reducing instantiations will improve the performance of the ipc readers.



 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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