Browse Source

Merge branch 'refactor-worker' into refactor-worker

pull/2/head
Tboy 5 years ago committed by GitHub
parent
commit
f2a7fea7ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java
  2. 1
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/runner/TaskExecuteThread.java

1
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java

@ -56,7 +56,6 @@ public class TaskKillProcessor implements NettyRequestProcessor {
doKill(killCommand); doKill(killCommand);
} }
/** /**
* kill task logic * kill task logic
* *

1
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/runner/TaskExecuteThread.java

@ -144,7 +144,6 @@ public class TaskExecuteThread implements Runnable {
// task result process // task result process
task.after(); task.after();
responseCommand.setStatus(task.getExitStatus().getCode()); responseCommand.setStatus(task.getExitStatus().getCode());
responseCommand.setEndTime(new Date()); responseCommand.setEndTime(new Date());
logger.info("task instance id : {},task final status : {}", taskExecutionContext.getTaskInstanceId(), task.getExitStatus()); logger.info("task instance id : {},task final status : {}", taskExecutionContext.getTaskInstanceId(), task.getExitStatus());

Loading…
Cancel
Save