@Beta
public Cluster cleanupCluster(ClusterSpec clusterSpec, Cluster cluster)
throws IOException, InterruptedException {
CleanupClusterAction cleanner = new CleanupClusterAction(getCompute(), handlerMapFactory.create());
return cleanner.execute(clusterSpec, cluster);
}
/**
* Stop the cluster and destroy all resources associated with it.
*