[
https://issues.apache.org/jira/browse/HADOOP-12523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo Nicholas Sze updated HADOOP-12523:
-----------------------------------------
Status: Patch Available (was: Open)
> In FileSystem.Cache, the closeAll methods should not synchronize on the Cache
> object
> ------------------------------------------------------------------------------------
>
> Key: HADOOP-12523
> URL: https://issues.apache.org/jira/browse/HADOOP-12523
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Attachments: c12523_20151028.patch
>
>
> All the closeAll methods holds the Cache lock so that when one of the three
> closeAll methods is being called, it has to wait for the Cache lock in order
> to get a unrelated FileSystem object or create a new FileSystem. The wait
> time can possible be long since closing a FileSystem can be slow.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)