'Kills the cluster ungracefully.'

def stop(self):

    if (self.clusterproc and (self.clusterproc.poll() is None)):
        os.kill(self.clusterproc.pid, signal.SIGKILL)
        self.clusterproc.wait()
    if (self.secondary_proc and (self.secondary_proc.poll() is None)):
        os.kill(self.secondary_proc.pid, signal.SIGKILL)
        self.secondary_proc.wait()
    if (CLEANUP_TMP_DIR != 'false'):
        logging.info('Cleaning    up    self.tmpdir.        Use    $MINI_CLUSTER_CLEANUP    to    avoid.')
        shutil.rmtree(self.tmpdir)
