if (unscheduledInstances > 0) {
instancesSummary.put("UNSCHEDULED", unscheduledInstances);
}
InstanceSummary summary = new InstanceSummary(cluster, instancesSummary);
instances.add(summary);
}
InstancesSummaryResult instancesSummaryResult =
new InstancesSummaryResult(APIResult.Status.SUCCEEDED, JobAction.SUMMARY.name());