hi:

It's not necessary, it's just that our project has specific requirements


We use the worker node to run a virtual sleep task instead of using shell
--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/5/2020 15:26,leon bao<[email protected]> wrote:
if need a sleep task without doing nothing,  you can implement this
requirement by a shell ?

wu shaoj <[email protected]> 于2020年6月4日周四 下午1:51写道:

New task type just for sleeping is not recommended to add, which makes no
sense.
I thinks this is unreasonable . So don't merge into dev branch !!!


On 2020/6/4, 13:09, "boyi" <[email protected]> wrote:

HI:


I choose the second one. It's the same as the normal task type
--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/4/2020 11:38,leon bao<[email protected]> wrote:
@boyi
i understand what you need, but how we implement your feature?
now we have two ways to run the task:
1. logic task run on master(sub work flow/ conditions / dependent)
2. real task run on worker (shell / python / sql / mr / spark... )

which way used for this task?

huangming <[email protected]> 于2020年6月3日周三 下午3:59写道:

look forward to“value passing”



huangming

From: boyi
Date: 2020-06-03 15:54
To: [email protected]
Subject: Re: New task type
hi:


We have a requirement that Party A requires the task to be performed 30
minutes apart before the request can be performed again to obtain data
..




--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/3/2020 15:41,wu shaoj<[email protected]> wrote:
Task 3 has no way to know when task 2 will be finished
Why ? It's strange

On 2020/6/3, 15:17, "boyi" <[email protected]> wrote:

hi:


o(╥﹏╥)o


It is mainly used for some specific scenes,






For example, task processing is not performed in the order of 1, 2, 3
and 4


For example, there is a gap between task 2 and task 3,


Task 3 has no way to know when task 2 will be finished


You can only wait by sleeping






In the new requirement, there is PR of "value passing". If it is
implemented, it can be modified appropriately




---------------------------


主要是用于一些特定场景,


比如: 任务处理 并不是  按1,2,3,4 的顺序依次执行.
比如 任务2和 任务3 之间存在间断,
任务3没有办法知道任务2什么时候执行完.
只能通过休眠的方式进行等待.


新的需求里面,有"值传递"的PR, 这个如果实现了,就可以再做适当的修改.








--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/3/2020 15:03,wu shaoj<[email protected]> wrote:
Wow ,can't aggree with you more.
Keeping simple is so simple truth and so hard to pratice


On 2020/6/3, 15:00, "boyi" <[email protected]> wrote:

hi:


Currently, support is not recommended. Keep it simple
After the subsequent "value passing" requirements are implemented, or
"if
else task" is used for support


———


当前不建议支持.保持简单.
后续 "值传递"需求实现后,或者使用 " if-else task " 进行支持.








--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/3/2020 14:11,huangming<[email protected]> wrote:
Such as an HTTP interface or a file or a database field



huangming

From: boyi
Date: 2020-06-03 13:57
To: [email protected]
Subject: Re: New task type
hi:




Can you give me an example??


--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/3/2020 13:53,huangming<[email protected]> wrote:
Can you add the logic to check a condition before deciding whether to
sleep

是否可以加入检查某个条件不满足再休眠的逻辑



huangming

From: boyi
Date: 2020-06-03 13:42
To: [email protected]
Subject: Re:New task type
hi:

In my project, I need a task node type, which can sleep for a specified
time, and then continue to perform subsequent tasks



If necessary, I will commit the dev branch



As shown in the figure




--------------------------------------
BoYi ZhangE-mail : [email protected]
On 06/3/2020 13:39,boyi<[email protected]> wrote:
hi:


在我的项目中,需要一种任务节点类型, 可以休眠指定的时间.然后继续执行后续任务.

如果需要的话,我将会提交的dev分支.

如图







--
DolphinScheduler(Incubator)  PPMC
BaoLiang 鲍亮
[email protected]



--
DolphinScheduler(Incubator)  PPMC
BaoLiang 鲍亮
[email protected]

Reply via email to