try {
final ApiCommand cmd = apiResourceRootV6.getClouderaManagerResource().hostInstallCommand(apiHostInstallArguments);
logger.info("install command id: " + cmd.getId());
hostInstallPoller = new HostInstallPoller(apiResourceRootV6, cmd.getId(), cluster.getCurrentReport(), reportQueue,
ProgressSplit.INSTALL_HOSTS_AGENT.getProgress(), addedNodes, domain, cmUsername, cmPassword);
executeAndReport("Installing Host Agents", addedNodes, cmd, ProgressSplit.INSTALL_HOSTS_AGENT.getProgress(),
cluster.getCurrentReport(), reportQueue, hostInstallPoller, true);
} catch (Exception e) {
logger.info(e.getMessage());