if (allocatedResources.size() > 0) {
if(LOG.isDebugEnabled()) {
LOG.debug("SubQueryContainerAllocationEvent fire:" + executionBlockId);
}
queryTaskContext.getEventHandler().handle(new SubQueryContainerAllocationEvent(executionBlockId, containers));
}
numAllocatedContainers += allocatedResources.size();
}
if(event.getRequiredNum() > numAllocatedContainers) {