ClusterReportQueue reports, ApiHostComponents apiHostComponents,
List<String> targetHostNames) throws Exception {
// add components to target hosts concurrently
apiManager.addComponents(clusterDef.getName(), targetHostNames, apiHostComponents);
ApiRequest request = apiManager.installComponents(clusterDef.getName());
ClusterOperationPoller poller =
new ClusterOperationPoller(apiManager, request,
clusterDef.getName(), clusterDef.getCurrentReport(), reports,
ProgressSplit.PROVISION_CLUSTER.getProgress());
poller.waitForComplete();
boolean success = false;
ApiRequest apiRequest =
apiManager.getRequest(clusterDef.getName(), request
.getApiRequestInfo().getRequestId());