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

MiniDFSCluster shoud close all open FileSystems when shutdown()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.0, 3.0.0-alpha1
    • 2.8.0, 3.0.0-alpha1
    • test
    • None
    • 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.patch
          3 kB
          haosdent
        2. HDFS-5356-1.patch
          2 kB
          Rakesh Radhakrishnan
        3. HDFS-5356-2.patch
          6 kB
          Rakesh Radhakrishnan
        4. HDFS-5356-3.patch
          6 kB
          Rakesh Radhakrishnan
        5. HDFS-5356-4.patch
          7 kB
          Rakesh Radhakrishnan
        6. HDFS-5356-5.patch
          5 kB
          Rakesh Radhakrishnan
        7. HDFS-5356-6.patch
          5 kB
          Rakesh Radhakrishnan
        8. HDFS-5356-7.patch
          5 kB
          Rakesh Radhakrishnan
        9. HDFS-5356-8.patch
          5 kB
          Rakesh Radhakrishnan

        Activity

          People

            rakeshr Rakesh Radhakrishnan
            haosdent@gmail.com haosdent
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: