for (int i : indexList) {
h = hosts.get(i);
//Check only hosts that have real components
if (h.isExecutionHost() || h.isShadowHost() || h.isQmasterHost() || h.isBdbHost()) {
try {
threadPool.execute(new ValidateHostTask(h, this, idata.getVariables()));
started++;
} catch (RejectedExecutionException e) {
setHostState(h, State.CANCELED);
}
}