Details
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.