You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2019/11/14 06:43:15 UTC

[GitHub] [incubator-dolphinscheduler] xiaot502 commented on issue #1223: [QUESTION] A scheduling problem 前置依赖调度问题(能否实现前置任务完成后就触发调用相关任务)

xiaot502 commented on issue #1223: [QUESTION] A scheduling problem 前置依赖调度问题(能否实现前置任务完成后就触发调用相关任务)
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1223#issuecomment-553749315
 
 
   根据当前我对这个调度组件的分工理解整理如下:
   定时器才是调度被启动的唯一入口,然后工作流调用子工作流实现执行顺序,那么依赖组件具体又是什么功能?这个组件实现的是整个工作流中某一个小组件在被执行的前一步来判断其他工作流的某个或者多个组件是否被执行完成?满足条件就会根据连接线顺序执行组件的功能,如果不满足呢我推测有两种可能(1:中断整个工作流,记录日志2:工作流陷入休眠直到前置条件被满足,又重新从休眠状态继续执行)。不知道老师能否解答依赖组件的实际工作机制呢?
   
   =================================================
   
   According to my current understanding of the division of labor of this scheduling component, it is arranged as follows:
   
   The timer is the only entry into which the schedule is started, and the workflow invokes the execution sequence of the sub-workflow implementation.This component implements a component in the entire workflow before it is executed to determine whether one or more components of other workflows have been executed.If the condition is met, the function of the component will be executed in sequence according to the connection line. If not, I guess there are two possibilities (1: interrupt the entire workflow, log 2: the workflow will go to sleep until the preconditions are met and resume execution from sleep).Can the teacher explain how the dependent components actually work?
   
   
   
   
   
   
   ------------------&nbsp;原始邮件&nbsp;------------------
   发件人:&nbsp;"老佛爷"<notifications@github.com&gt;;
   发送时间:&nbsp;2019年11月13日(星期三) 晚上7:17
   收件人:&nbsp;"apache/incubator-dolphinscheduler"<incubator-dolphinscheduler@noreply.github.com&gt;;
   抄送:&nbsp;"涛"<302983717@qq.com&gt;;"Author"<author@noreply.github.com&gt;;
   主题:&nbsp;Re: [apache/incubator-dolphinscheduler] [QUESTION] A scheduling problem 前置依赖调度问题(能否实现前置任务完成后就触发调用相关任务) (#1223)
   
   
   
   
   What you are asking should be that the B workflow does not have time scheduler, and does the A workflow have time scheduler?You can import the B workflow in A's workflow so that the task flow in the A workflow is completed and the B workflow is executed.
    ++++++++++++++++++++++++++++++++++
    你问的应该是B工作流没有设置时间调度,A工作流有时间调度么?你可以在A的工作流里面,把B工作流引入的,这样A工作流中的任务节点完成后,就会执行B工作流
    
   —
   You are receiving this because you authored the thread.
   Reply to this email directly, view it on GitHub, or unsubscribe.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services