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

Tom White updated HADOOP-1131:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Philippe!

> 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
>             Fix For: 0.13.0
>
>         Attachments: HADOOP-1131-without-spurious-whitespace.diff, 
> 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.

Reply via email to