lenboo commented on issue #205: Support condition detection type 
task(支持条件检测类型任务)
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/205#issuecomment-581788347
 
 
   > 仅供参考:
   > 
我们的DAG调度系统里把不用执行的节点标识为skip(跳过执行状态),作为结束状态的一种。一个节点的所有前置节点都跳过执行,那么该节点也跳过执行。一个节点所有前置节点都已经结束且至少有一个节点是正常结束的,这个节点也应该被触发。我们是通过这样的机制,让多分支可以聚合。
   > 
   > Just for u reference:
   > In our DAG scheduler system,we introduce 'skipped' status,which marks a 
node don't need to execute but end.A node needs to skipped if all of its pre 
nodes were skipped.A node can be executed if all of its pre nodes ended and at 
least one of pre nodes ended normally.We let branches of conditional judgment 
task can be aggregated by such scheme.
   
   thank you very much for suggestions!
   Your suggestion is very useful. When the conditions task takes a successful 
branch, set the node of the failed branch and the subsequent node as skip. 
Finally, the aggregation node can skip the 'skip' node judgment.
   
   你的建议很有用,当条件判断任务走成功分支的时候,将失败分支的节点和其后的节点都置为'skip',最后聚合节点可以跳过skip节点判断。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to