You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Philippe Gassmann (JIRA)" <ji...@apache.org> on 2007/03/19 15:16:32 UTC

[jira] Commented: (HADOOP-1131) Add a closeAll() static method to FileSystem

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

Philippe Gassmann commented on HADOOP-1131:
-------------------------------------------

Also, as the HADOOP-1131 issue, calling the closeAll() method will prevent memory leak to appear when trying to unload the context of a webapp.

> Add a closeAll() static method to FileSystem
> --------------------------------------------
>
>                 Key: HADOOP-1131
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1131
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.12.0
>            Reporter: Philippe Gassmann
>            Priority: Minor
>         Attachments: HADOOP-1131.diff
>
>
> The closeAll method should close all "cached" FileSystem (FileSystems present in the CACHE variable).
> This can be very usefull when an access to the HDFS is needed in a webapp : when the web application context is unloaded from the container, the application should only call the closeAll method to stop DFSClients (and especially the LeaseChecker thread ).

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