[
https://issues.apache.org/jira/browse/ACCUMULO-3890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Billie Rinaldi updated ACCUMULO-3890:
-------------------------------------
Attachment: ACCUMULO-3890.3.patch
Thanks for the tip, [~lmccay]. This looks a lot cleaner.
> Use of CredentialProvider results in a lot of NN ops
> ----------------------------------------------------
>
> Key: ACCUMULO-3890
> URL: https://issues.apache.org/jira/browse/ACCUMULO-3890
> Project: Accumulo
> Issue Type: Bug
> Affects Versions: 1.6.1, 1.6.2, 1.7.0
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Fix For: 1.7.1, 1.8.0
>
> Attachments: ACCUMULO-3890.1.patch, ACCUMULO-3890.2.patch,
> ACCUMULO-3890.3.patch
>
>
> Every time we access a sensitive property or iterate over a configuration
> when there is a CredentialProvider configured, it results in NN operations
> (as evidenced by FSNamesystem.audit logs). I think that we could assume the
> CredentialProvider is static, read its properties once and cache them in
> memory to avoid these unnecessary reads.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)