if (!initialized.compareAndSet(false, true)) {
throw new IllegalStateException(SimpleTaskScheduler.class.getSimpleName()
+ " is started.");
}
this.queueManager.set(new QueueManager(getConf()));
this.federator.set(new Federator((HamaConfiguration) getConf()));
this.queueManager.get().createFCFSQueue(WAIT_QUEUE);
this.queueManager.get().createFCFSQueue(PROCESSING_QUEUE);
this.queueManager.get().createFCFSQueue(FINISHED_QUEUE);
groomServerManager.get().addJobInProgressListener(this.jobListener);