|
|
@ -128,7 +128,6 @@ public class MasterBaseTaskExecThread implements Callable<Boolean> { |
|
|
|
// TODO send task to worker
|
|
|
|
// TODO send task to worker
|
|
|
|
public void sendToWorker(TaskInstance taskInstance){ |
|
|
|
public void sendToWorker(TaskInstance taskInstance){ |
|
|
|
final Address address = new Address("127.0.0.1", 12346); |
|
|
|
final Address address = new Address("127.0.0.1", 12346); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* set taskInstance relation |
|
|
|
* set taskInstance relation |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -144,7 +143,6 @@ public class MasterBaseTaskExecThread implements Callable<Boolean> { |
|
|
|
responseCommand.getBody(), ExecuteTaskAckCommand.class); |
|
|
|
responseCommand.getBody(), ExecuteTaskAckCommand.class); |
|
|
|
|
|
|
|
|
|
|
|
logger.info("taskAckCommand : {}",taskAckCommand); |
|
|
|
logger.info("taskAckCommand : {}",taskAckCommand); |
|
|
|
|
|
|
|
|
|
|
|
processService.changeTaskState(ExecutionStatus.of(taskAckCommand.getStatus()), |
|
|
|
processService.changeTaskState(ExecutionStatus.of(taskAckCommand.getStatus()), |
|
|
|
taskAckCommand.getStartTime(), |
|
|
|
taskAckCommand.getStartTime(), |
|
|
|
taskAckCommand.getHost(), |
|
|
|
taskAckCommand.getHost(), |
|
|
|