QueryId queryId = new QueryId(request.getQueryId());
//heartbeat from querymaster
//LOG.info("Received QueryHeartbeat:" + queryId + "," + request);
QueryJobManager queryJobManager = context.getQueryJobManager();
command = queryJobManager.queryHeartbeat(request);
} else {
//heartbeat from TajoWorker
context.getResourceManager().workerHeartbeat(request);
}