}
public void startQueryMaster() {
try {
LOG.info("Initializing QueryInProgress for QueryID=" + queryId);
WorkerResourceManager resourceManager = masterContext.getResourceManager();
WorkerResource queryMasterResource = resourceManager.allocateQueryMaster(this);
if(queryMasterResource != null) {
queryInfo.setQueryMasterResource(queryMasterResource);
}
getEventHandler().handle(new QueryJobEvent(QueryJobEvent.Type.QUERY_MASTER_START, queryInfo));