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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to