[
https://issues.apache.org/jira/browse/HDFS-16518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lei Yang updated HDFS-16518:
----------------------------
Description:
The cache has ttl and can close KeyProvider when cache entry is expired but we
also want to close underlying KeyProvider when DFSClient is closed.
was:
The cache has ttl and can close KeyProvider when cache entry is expired.
In KeyProviderCache, we should add ShutdownHookManager to clean up all
keyprovider instances in the cache when jvm shuts down.
> Cached KeyProvider in KeyProviderCache does not get closed when DFSClient is
> closed
> ------------------------------------------------------------------------------------
>
> Key: HDFS-16518
> URL: https://issues.apache.org/jira/browse/HDFS-16518
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs
> Affects Versions: 2.10.0
> Reporter: Lei Yang
> Priority: Major
>
> The cache has ttl and can close KeyProvider when cache entry is expired but
> we also want to close underlying KeyProvider when DFSClient is closed.
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]