if (jip.getStatus().getRunState() == JobStatus.RUNNING) {
GroomProtocol worker = groomServerManager.findGroomServer(this.stus);
try {
// dispatch() to the groom server
Directive d1 = new DispatchTasksDirective(actions.toArray(new GroomServerAction[0]));
worker.dispatch(d1);
} catch (IOException ioe) {
LOG.error("Fail to dispatch tasks to GroomServer "
+ this.stus.getGroomName(), ioe);
}
} else {