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

Chris Nauroth commented on HADOOP-6356:
---------------------------------------

If not a cache, then I do think {{FileContext}} would benefit from having a 
{{close}} method.  Right now, {{FileContext}} doesn't provide any kind of 
reliable shutdown hook where a file system implementor can clean up scarce 
resources (i.e. background threads allocated during usage).

> Add a Cache for AbstractFileSystem in the new FileContext/AbstractFileSystem 
> framework.
> ---------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6356
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6356
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>
> The new filesystem framework, FileContext and AbstractFileSystem does not 
> implement a cache for AbstractFileSystem.
> This Jira proposes to add a cache to the new framework just like with the old 
> FileSystem.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to