this.state = ContainerState.FAILED;
throw new IllegalStateException("Invalid shuffle port number "
+ port + " returned for " + containerID);
}
context.getEventHandler().handle(new QueryEvent(context.getQueryId(), QueryEventType.INIT_COMPLETED));
this.state = ContainerState.RUNNING;
this.hostName = containerMgrAddress.split(":")[0];
context.getResourceAllocator().addContainer(containerID, this);
} catch (Throwable t) {