Browse Source

fix:Depend check bug (#2229)

* fix:#1787

* fix:#1787
pull/3/MERGE
Rubik-W 5 years ago committed by gaojun2048
parent
commit
1acbc0dbfe
  1. 6
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java

6
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java

@ -674,9 +674,9 @@ public class MasterExecThread implements Runnable {
TaskNode taskNode = dag.getNode(taskName); TaskNode taskNode = dag.getNode(taskName);
List<String> depNameList = taskNode.getDepList(); List<String> depNameList = taskNode.getDepList();
for(String depsNode : depNameList ){ for(String depsNode : depNameList ){
if(!dag.containsNode(depsNode)
if(forbiddenTaskList.containsKey(depsNode) || || forbiddenTaskList.containsKey(depsNode)
skipTaskNodeList.containsKey(depsNode)){ || skipTaskNodeList.containsKey(depsNode)){
continue; continue;
} }
// dependencies must be fully completed // dependencies must be fully completed

Loading…
Cancel
Save