Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5356

MiniDFSCluster shoud close all open FileSystems when shutdown()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 3.0.0-alpha1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      After add some metrics functions to DFSClient, I found that some unit tests relates to metrics are failed. Because MiniDFSCluster are never close open FileSystems, DFSClients are alive after MiniDFSCluster shutdown(). The metrics of DFSClients in DefaultMetricsSystem are still exist and this make other unit tests failed.

        Attachments

        1. HDFS-5356-8.patch
          5 kB
          Rakesh R
        2. HDFS-5356-7.patch
          5 kB
          Rakesh R
        3. HDFS-5356-6.patch
          5 kB
          Rakesh R
        4. HDFS-5356-5.patch
          5 kB
          Rakesh R
        5. HDFS-5356-4.patch
          7 kB
          Rakesh R
        6. HDFS-5356-3.patch
          6 kB
          Rakesh R
        7. HDFS-5356-2.patch
          6 kB
          Rakesh R
        8. HDFS-5356-1.patch
          2 kB
          Rakesh R
        9. HDFS-5356.patch
          3 kB
          haosdent

          Activity

            People

            • Assignee:
              rakeshr Rakesh R
              Reporter:
              haosdent@gmail.com haosdent
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: