If DAG removed ,master only need to pick up JOBs which reached schedule time, 
and dispatches them to one worker .However the JOBs will be in the queue before 
dispatched .
The master will be lightweight , and complement work will be easy. The JOBs 
which have same label will be dispatched to workers and they will execute 
parallelly or in a sequence  relying on their DEPENDENCY 



---Original---
From: "GabryWu"<wu_shao_...@qq.com&gt;
Date: Wed, May 20, 2020 18:41 PM
To: "dev"<dev@dolphinscheduler.apache.org&gt;;
Cc: "wenhemin"<wenhe...@apache.org&gt;;
Subject: Re: How do you think Task DAG dependency and List dependency?


In that case ,I recommend spliting the 100 SQLs into different JOB which has 
same label, each JOB has it's own business logic .Finally Add DEPENDENCY to 
each JOB. JOBs having same label can be shown in front page through DAG





---Original---
From: "Hemin Wen"<wenhe...@apache.org&gt;
Date: Wed, May 20, 2020 17:38 PM
To: "GabryWu"<wu_shao_...@qq.com&gt;;
Subject: Re: How do you think Task DAG dependency and List dependency?


For example, A workflow has 100 sql scripts task, tasks depend on each other 
through data lineage.

This requirement is not suitable for DAG configuration.





--------------------
DolphinScheduler(Incubator)&nbsp;Commtter

Hemin Wen &nbsp;温合民

wenhe...@apache.org
--------------------










GabryWu <wu_shao_...@qq.com&gt; 于2020年5月20日周三 下午5:31写道:

what do you mean batch tasks


------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"wenhemin"<wenhe...@apache.org&gt;;
发送时间:&nbsp;2020年5月20日(星期三) 下午5:04
收件人:&nbsp;"dev"<dev@dolphinscheduler.apache.org&gt;;

主题:&nbsp;Re: How do you think Task DAG dependency and List dependency?



I do not recommend remove DAG.
I think, DS lacks support for batch tasks.
DAG solves the expression of different types of tasks, there is no way to
express batch tasks of the same type.

I don't know if what I understand is accurate, It is recommended to
understand in depth the problem that users
want to solve by using "List dependency”.

--------------------
DolphinScheduler(Incubator) Commtter
Hemin Wen&nbsp; 温合民
wenhe...@apache.org
--------------------


lidong dai <dailidon...@gmail.com&gt; 于2020年5月20日周三 下午3:40写道:

&gt; I know what you said,&nbsp; there maybe need more people to discuss this 
topic,
&gt; I want to know other's opinion, how do they think this question
&gt;
&gt;
&gt;
&gt; Best Regards
&gt; ---------------
&gt; DolphinScheduler(Incubator) PPMC
&gt; Lidong Dai 代立冬
&gt; dailidon...@gmail.com
&gt; ---------------
&gt;
&gt;
&gt; GabryWu <wu_shao_...@qq.com&gt; 于2020年5月19日周二 上午7:19写道:
&gt;
&gt; &gt; not actually. I mean refactor backend code to remove DAG, where only 
JOB
&gt; &gt; and DEPENDENCY remained
&gt; &gt;
&gt; &gt; ---Original---
&gt; &gt; *From:* "lidong dai"<dailidon...@gmail.com&gt;
&gt; &gt; *Date:* Mon, May 18, 2020 22:47 PM
&gt; &gt; *To:* "GabryWu"<wu_shao_...@qq.com&gt;;
&gt; &gt; *Cc:* "dev"<dev@dolphinscheduler.apache.org&gt;;
&gt; &gt; *Subject:* Re: How do you think Task DAG dependency and List 
dependency?
&gt; &gt;
&gt; &gt; I think your said is "List dependency", List dependency is also DAG, 
it's
&gt; &gt; only different in use.&nbsp; when use List dependency, you can add 
your
&gt; upstream
&gt; &gt; dependency for the task, this is convenient for hugely tasks in one
&gt; &gt; workflow
&gt; &gt;
&gt; &gt;
&gt; &gt; Best Regards
&gt; &gt; ---------------
&gt; &gt; DolphinScheduler(Incubator) PPMC
&gt; &gt; Lidong Dai 代立冬
&gt; &gt; dailidon...@gmail.com
&gt; &gt; ---------------
&gt; &gt;
&gt; &gt;
&gt; &gt; GabryWu <wu_shao_...@qq.com&gt; 于2020年5月13日周三 上午11:08写道:
&gt; &gt;
&gt; &gt;&gt; Until now ,DAG is one physical&nbsp; concept, which means that 
DAG is heavy
&gt; &gt;&gt; class , and introduces other classes and stored in a big json 
field.
&gt; &gt;&gt; On the bigdata platform , DAG is not a good concept for 
Schedulers,
&gt; which
&gt; &gt;&gt; can be abandoned.
&gt; &gt;&gt; If DAG was abandoned,&nbsp;&nbsp; JOB and DEPENDENCY will simply 
the architecture
&gt; &gt;&gt; and make DolphinScheduler stabilize and extended easily and 
easier to
&gt; &gt;&gt; search jobs
&gt; &gt;&gt; However abandoning DAG doesn't mean remove DAG graph in the front 
end,
&gt; &gt;&gt; which is also an important visualization way for JOBs
&gt; &gt;&gt; We can add one Job and Dependency manually ,and visualize them in 
DAG
&gt; &gt;&gt; graph automatically
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; ------------------ 原始邮件 ------------------
&gt; &gt;&gt; *发件人:* "lidong dai"<dailidon...@gmail.com&gt;;
&gt; &gt;&gt; *发送时间:* 2020年5月12日(星期二) 下午5:26
&gt; &gt;&gt; *收件人:* "dev"<dev@dolphinscheduler.apache.org&gt;;
&gt; &gt;&gt; *主题:* Re: How do you think Task DAG dependency and List 
dependency?
&gt; &gt;&gt;
&gt; &gt;&gt; yes, your description is proper, thanks
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Best Regards
&gt; &gt;&gt; ---------------
&gt; &gt;&gt; DolphinScheduler(Incubator) PPMC
&gt; &gt;&gt; Lidong Dai 代立冬
&gt; &gt;&gt; dailidon...@gmail.com
&gt; &gt;&gt; ---------------
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; leon bao <leon...@apache.org&gt; 于2020年5月12日周二 下午5:06写道:
&gt; &gt;&gt;
&gt; &gt;&gt; &gt; i think you want to show the DAG using list mode.
&gt; &gt;&gt; &gt; DS show DAG using graphic mode, that will have some problems:
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; 1. once the number of tasks is large,&nbsp; graphic mode 
will be confusing.
&gt; &gt;&gt; &gt; 2. it is difficult to find the specified task in a complex 
DAG.
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; lidong dai <dailidon...@gmail.com&gt; 于2020年5月12日周二 下午4:31写道:
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; &gt; I want to say do we need to implement List dependency?
&gt; &gt;&gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; Best Regards
&gt; &gt;&gt; &gt; &gt; ---------------
&gt; &gt;&gt; &gt; &gt; DolphinScheduler(Incubator) PPMC
&gt; &gt;&gt; &gt; &gt; Lidong Dai 代立冬
&gt; &gt;&gt; &gt; &gt; dailidon...@gmail.com
&gt; &gt;&gt; &gt; &gt; ---------------
&gt; &gt;&gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; JUN GAO <gaojun2...@gmail.com&gt; 于2020年5月12日周二 
下午12:26写道:
&gt; &gt;&gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; Hi , @lidong dai
&gt; &gt;&gt; &gt; &gt; &gt; Sorry , I don`t know your mean about this .
&gt; &gt;&gt; &gt; &gt; &gt; You want to discuss how to implement Task DAG 
dependency and List
&gt; &gt;&gt; &gt; &gt; &gt; dependency ? Or discuss what is Task DAG 
dependency and List
&gt; &gt;&gt; &gt; dependency ?
&gt; &gt;&gt; &gt; &gt; &gt; you can show us what`s your need and ideas , So 
that we can know
&gt; the
&gt; &gt;&gt; &gt; &gt; topic
&gt; &gt;&gt; &gt; &gt; &gt; of discussion.
&gt; &gt;&gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; Thank you !
&gt; &gt;&gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; lidong dai <dailidon...@gmail.com&gt; 
于2020年5月11日周一 下午10:34写道:
&gt; &gt;&gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; &gt; hi ,
&gt; &gt;&gt; &gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Task dependency between 
upstream and downstream&nbsp; called List
&gt; &gt;&gt; &gt; &gt; &gt; dependency
&gt; &gt;&gt; &gt; &gt; &gt; &gt; do you have ideas about this topic?
&gt; &gt;&gt; &gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; &gt; Best Regards
&gt; &gt;&gt; &gt; &gt; &gt; &gt; ---------------
&gt; &gt;&gt; &gt; &gt; &gt; &gt; DolphinScheduler(Incubator) PPMC
&gt; &gt;&gt; &gt; &gt; &gt; &gt; Lidong Dai 代立冬
&gt; &gt;&gt; &gt; &gt; &gt; &gt; dailidon...@gmail.com
&gt; &gt;&gt; &gt; &gt; &gt; &gt; ---------------
&gt; &gt;&gt; &gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; --
&gt; &gt;&gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt; &gt; DolphinScheduler(Incubator)&nbsp; PPMC
&gt; &gt;&gt; &gt; &gt; &gt; Jun Gao 高俊
&gt; &gt;&gt; &gt; &gt; &gt; gaojun2...@gmail.com
&gt; &gt;&gt; &gt; &gt; &gt;
&gt; &gt;&gt; &gt; &gt;
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; --
&gt; &gt;&gt; &gt; DolphinScheduler(Incubator)&nbsp; PPMC
&gt; &gt;&gt; &gt; BaoLiang 鲍亮
&gt; &gt;&gt; &gt; leon...@apache.org
&gt; &gt;&gt; &gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt;

Reply via email to