Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1131

Add a closeAll() static method to FileSystem

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.12.0
    • 0.13.0
    • None
    • None

    Description

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

      Attachments

        1. HADOOP-1131.diff
          1.0 kB
          Philippe Gassmann
        2. HADOOP-1131-without-spurious-whitespace.diff
          0.8 kB
          Philippe Gassmann

        Activity

          People

            Unassigned Unassigned
            phil@anyware-tech.com Philippe Gassmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: