Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6678

MiniDFSCluster may still be partially running after initialization fails.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.5.0
    • Fix Version/s: 2.6.0
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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.

      1. HDFS-6678.1.patch
        6 kB
        Chris Nauroth

        Activity

          People

          • Assignee:
            Chris Nauroth
            Reporter:
            Chris Nauroth
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development