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

Doug Cutting commented on HADOOP-4655:
--------------------------------------

Do we want to deprecate the method that uses the cache?  If so, we'd need to 
make FileSystem instantiation more lightweight.  Currently, e.g., HDFS makes a 
call to the namenode to check version compatibility each time a 
DistributedFileSystem is created.  We'd probably want to cache that and/or do 
it lazily.

> 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
>            Assignee: dhruba borthakur
>         Attachments: FileSystemUnique.patch
>
>
> 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.

Reply via email to