if(queryMasterMode) {
//querymaster worker
tajoWorkerClientService = new TajoWorkerClientService(workerContext, clientPort);
addService(tajoWorkerClientService);
queryMasterManagerService = new QueryMasterManagerService(workerContext, qmManagerPort);
addService(queryMasterManagerService);
}
if(taskRunnerMode) {
//taskrunner worker