hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12523) In FileSystem.Cache, the closeAll methods should not synchronize on the Cache object
Date Wed, 28 Oct 2015 10:34:27 GMT

     [ 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)

Mime
View raw message