[ 
https://issues.apache.org/jira/browse/HADOOP-10750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044786#comment-14044786
 ] 

Alejandro Abdelnur commented on HADOOP-10750:
---------------------------------------------

On #1, correct. Plus both expiration times should be configurable.

On #2, KMS is an obvious candidate. KeyProvider implementations that want to 
manage their own caching as well. And any service using KeyProviders, i.e. 
Oozie, NN, httpfs, Knox, etc. Even AMs of Yarn Jobs could benefit for it.

> KMSKeyProviderCache should be in hadoop-common
> ----------------------------------------------
>
>                 Key: HADOOP-10750
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10750
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 3.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>
> KMS has {{KMSCacheKeyProvider}}, this class should be available in 
> hadoop-common for users of  {{KeyProvider}} instances to wrap them and avoid 
> several, potentially expensive, key retrievals.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to