if (!isProvisioned(cluster.getName())) {
executeAndReport("Inspecting Hosts", addedNodes, apiResourceRootV6.getClouderaManagerResource().inspectHostsCommand(),
ProgressSplit.INSPECT_HOSTS.getProgress(), cluster.getCurrentReport(), reportQueue, false);
final ApiClusterList clusterList = new ApiClusterList();
ApiCluster apiCluster = new ApiCluster();
apiCluster.setName(cluster.getName());
apiCluster.setVersion(ApiClusterVersion.valueOf(cluster.getVersion()));
apiCluster.setFullVersion(cluster.getFullVersion());
clusterList.add(apiCluster);
apiResourceRootV6.getClustersResource().createClusters(clusterList);
} else {
/*
For cluster resume/resize, the cluster is already exist, we need to check if this cluster is created by BDE.