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/26 09:13:15 UTC

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

zixi0825 commented on issue #1223: [QUESTION] A scheduling problem 前置依赖调度问题(能否实现前置任务完成后就触发调用相关任务)
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1223#issuecomment-558535641
 
 
   我觉得 这位同学wangsvip 想要的功能是
   1)配置依赖的时候不用进入工作流里面去配置,可以单独配置A任务依赖B任务(甚至可以配置上依赖的条件),只要B执行完以后就会自动去触发A任务的执行
   2)其实这个问题很早就讨论过,DS目前只支持依赖任务,也就是需要自己去启动多一个定时任务去检测所依赖的任务是否执行完成,根据状态再执行后续操作
   3)针对这种基于条件触发(任务完成或者)的需求可以参考azkaban的做法,通过引入消息队列,将任务的执行结果发送到消息队列,定义一个消息处理模块,定时消费数据,如果发现A任务所依赖的任务B已经完成,那么就自动触发A任务,如果失败则告警

----------------------------------------------------------------
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