fix bug: Fix master task dependency check bug (#3473)

Co-authored-by: lenboo <baoliang@analysys.com.cn>
This commit is contained in:
bao liang 2020-08-13 19:02:14 +08:00 committed by GitHub
parent 927985c012
commit 5756d6b029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -667,12 +667,10 @@ public class MasterExecThread implements Runnable {
List<String> depNameList = taskNode.getDepList();
for(String depsNode : depNameList ){
if(!dag.containsNode(depsNode)
|| skipTaskNodeList.containsKey(depsNode)
|| forbiddenTaskList.containsKey(depsNode)){
continue;
}
if(skipTaskNodeList.containsKey(depsNode)){
return DependResult.FAILED;
}
// all the dependencies must be completed
if(!completeTaskList.containsKey(depsNode)){
return DependResult.WAITING;