hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Gassmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1131) Add a closeAll() static method to FileSystem
Date Mon, 19 Mar 2007 14:16:32 GMT

    [ 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.

View raw message