Browse Source

解决单独执行子节点空指针的问题

pull/3/MERGE
liliang1991 4 years ago
parent
commit
561e5b2e2a
  1. 3
      dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/DagHelper.java

3
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/DagHelper.java

@ -276,6 +276,9 @@ public class DagHelper {
}
for (String dependNodeName : dependList) {
TaskNode dependNode = dag.getNode(dependNodeName);
if(dependNode==null){
continue;
}
if (completeTaskList.containsKey(dependNodeName)
|| dependNode.isForbidden()
|| skipTaskNodeList.containsKey(dependNodeName)) {

Loading…
Cancel
Save