Details
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-12076 Incomplete Cache Mechanism in CredentialProvider API
- Resolved