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

MiniDFSCluster may still be partially running after initialization fails.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.0, 3.0.0-alpha1
    • 2.6.0
    • test
    • None
    • Reviewed

    Description

      MiniDFSCluster initializes the daemons (NameNodes, DataNodes) as part of object construction. If initialization fails, then the constructor throws an exception. When this happens, it's possible that daemons are left running in the background. There is effectively no way to clean up after this state, because the constructor failed, and therefore the caller has no way to trigger a shutdown.

      Attachments

        1. HDFS-6678.1.patch
          6 kB
          Chris Nauroth

        Activity

          People

            cnauroth Chris Nauroth
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: