Browse Source

remove duplicate code (#1587)

* fix #1515

* sleep when resource in not satisfy. fix #1522

* add sleep 1s for no command

* fix MasterBaseTaskExecThread submit method bug

* updates

* add log

* delete lombok

* remove duplicate code
pull/2/head
Tboy 5 years ago committed by qiaozhanwei
parent
commit
e4edf3e4d0
  1. 1
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/SubProcessTaskExecThread.java

1
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/SubProcessTaskExecThread.java

@ -72,7 +72,6 @@ public class SubProcessTaskExecThread extends MasterBaseTaskExecThread {
this.taskInstance.setState(ExecutionStatus.KILL); this.taskInstance.setState(ExecutionStatus.KILL);
}else{ }else{
this.taskInstance.setState(subProcessInstance.getState()); this.taskInstance.setState(subProcessInstance.getState());
result = true;
} }
} }
taskInstance.setEndTime(new Date()); taskInstance.setEndTime(new Date());

Loading…
Cancel
Save