hadoop-common-dev 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] Commented: (HADOOP-4655) FileSystem.CACHE should be ref-counted
Date Mon, 24 Nov 2008 21:53:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650342#action_12650342

Tsz Wo (Nicholas), SZE commented on HADOOP-4655:

"ref-counted" here indeed means "get-counted" since it is not counting the number of references
but the number of FileSystem.get(...).  It may be a nice thing have but the cost of doing
this is very high.

@Houng> the bug could also affect single threaded program
I would argue that the bug is in depthFirstSearch(..) but not FileSystem cache.

@dhruba> This might be worthwhile for an application that opens many many different FileSystems
(especially with different usernames)
For this kind of special applications, ref-counted (or get-counted) could be implemented there.

> FileSystem.CACHE should be ref-counted
> --------------------------------------
>                 Key: HADOOP-4655
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4655
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs, fs
>    Affects Versions: 0.18.1, 0.18.2, 0.19.0, 0.19.1, 0.20.0
>            Reporter: Hong Tang
> FileSystem.CACHE is not ref-counted, and could lead to resource leakage.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message