Hadoop Common
  1. Hadoop Common
  2. HADOOP-1131

Add a closeAll() static method to FileSystem

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      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 ).

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

        Activity

        Philippe Gassmann created issue -
        Philippe Gassmann made changes -
        Field Original Value New Value
        Attachment HADOOP-1131.diff [ 12353657 ]
        Philippe Gassmann made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Owen O'Malley made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Philippe Gassmann made changes -
        Owen O'Malley made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 0.13.0 [ 12312348 ]
        Tom White made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Owen O'Malley made changes -
        Component/s dfs [ 12310710 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Philippe Gassmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development