Tsz Wo Nicholas Sze created HADOOP-12523:
--------------------------------------------
Summary: 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
All the closeAll methods holds the Cache lock so that when one of the three
closeAll methods is being called, a new FileSystem object has to wait for the
Cache lock. 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)