If there are so many tasks using the "wrong" suffix which means many users 
accept the file suffix,
then the suffix is RIGHT.
If want to use the new resource file ,they would better change the DAG 
definition


------------------ 原始邮件 ------------------
发件人:&nbsp;"leon bao"<[email protected]&gt;;
发送时间:&nbsp;2020年5月9日(星期六) 下午5:35
收件人:&nbsp;"dev"<[email protected]&gt;;

主题:&nbsp;Re: [DISCUSSION] Is it allowed to change the resource file suffix when 
update resource name?



@GabryWu
for users,&nbsp; if you use a wrong suffix file in many tasks, cloning cannot
reduce workload, but renaming can.





simon <[email protected]&gt; 于2020年5月9日周六 下午5:17写道:

&gt; I suggest allowing to change the resource file suffix,because i think this
&gt; operation is infrequent and maybe we can assume by default that it has made
&gt; problems in use and developers know the impact of changing the suffix.
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
&gt; 发件人:&amp;nbsp;"leon bao"<[email protected]&amp;gt;;
&gt; 发送时间:&amp;nbsp;2020年5月9日(星期六) 下午5:10
&gt; 收件人:&amp;nbsp;"dev"<[email protected]&amp;gt;;
&gt; 抄送:&amp;nbsp;"lgcareer2019"<[email protected]&amp;gt;;
&gt; 主题:&amp;nbsp;Re: [DISCUSSION] Is it allowed to change the resource file 
suffix
&gt; when update resource name?
&gt;
&gt;
&gt;
&gt; there is a issue about this:
&gt; https://github.com/apache/incubator-dolphinscheduler/issues/1397
&gt;
&gt; in summary, the issue reporter cannot preview the renamed resource when it
&gt; was renamed a wrong suffix.
&gt; but i think this is not a bug, because if suffix is wrong,&amp;nbsp; you 
can
&gt; rename
&gt; a right one.
&gt;
&gt; @GabryWu
&gt; after writing a long code file, i select a wrong suffix. if cannot rename
&gt; the suffix, i have to delete the file and create a new one. It's very
&gt; inconvenient.
&gt;
&gt;
&gt; @lgcareer2019
&gt;
&gt; We should trust the user, before changing the file suffix, user clearly
&gt; know the file suffix is wrong.
&gt; At the same time,&amp;nbsp; the resource is used as 'resource id' in task
&gt; definition, not 'resource name' ,&amp;nbsp; so there is nothing with the 
task
&gt; when
&gt; renaming the resource suffix.
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; GabryWu <[email protected]&amp;gt; 于2020年5月9日周六 下午4:06写道:
&gt;
&gt; &amp;gt; I think the resource file name (including suffix) can't be 
changed,
&gt; which
&gt; &amp;gt; contents can be overwritten.&amp;amp;nbsp;&amp;amp;nbsp;
&gt; &amp;gt; Why we should consider two files with different suffix is the same
&gt; file ?
&gt; &amp;gt; If so ,what's meaning of the file suffix?
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; if user want to delete a resource file, a tips telling that the 
file
&gt; is
&gt; &amp;gt; used by some job is better
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; 
------------------&amp;amp;nbsp;原始邮件&amp;amp;nbsp;------------------
&gt; &amp;gt; 
发件人:&amp;amp;nbsp;"[email protected]"<[email protected]
&gt; &amp;amp;gt;;
&gt; &amp;gt; 发送时间:&amp;amp;nbsp;2020年5月9日(星期六) 下午3:54
&gt; &amp;gt; 
收件人:&amp;amp;nbsp;"dev"<[email protected]&amp;amp;gt;;
&gt; &amp;gt;
&gt; &amp;gt; 主题:&amp;amp;nbsp;[DISCUSSION] Is it allowed to change the 
resource file
&gt; suffix
&gt; &amp;gt; when update resource name?
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; Hi Dev Team.
&gt; &amp;gt; Here is a short topic[1] to discuss.
&gt; &amp;gt; Background
&gt; &amp;gt; 1. User has created a resource that which name is example and 
suffix
&gt; is
&gt; &amp;gt; txt.
&gt; &amp;gt; 2. The above resource has been authorzied to other users and it 
was
&gt; used
&gt; &amp;gt; by some process definitons.
&gt; &amp;gt;
&gt; &amp;gt; To Discuss
&gt; &amp;gt; If a user need update the resource name,Is it allowed to change 
the
&gt; &amp;gt; resource file suffix when update resource name?
&gt; &amp;gt;
&gt; &amp;gt; If it is allowed to change the resource file suffix,May be lead 
to a
&gt; &amp;gt; problem that the tasks those which used this resource maybe 
executed
&gt; &amp;gt; failure.
&gt; &amp;gt; If it is not allowed to change the resource file,If created the
&gt; resource
&gt; &amp;gt; and found the resource suffix is wrong,The user has to delete it 
and
&gt; create
&gt; &amp;gt; it again.
&gt; &amp;gt;
&gt; &amp;gt; Please feel free to discuss.
&gt; &amp;gt;
&gt; &amp;gt; 1.https://github.com/apache/incubator-dolphinscheduler/issues/2598
&gt; &amp;gt 
<https://github.com/apache/incubator-dolphinscheduler/issues/2598&amp;gt&gt;;
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; DolphinScheduler(Incubator) PPMC
&gt; &amp;gt; Gang Li 李岗
&gt; &amp;gt;
&gt; &amp;gt; 
[email protected]<mailto:[email protected]&amp;amp;gt;
&gt;
&gt;
&gt;
&gt; --
&gt; DolphinScheduler(Incubator)&amp;nbsp; PPMC
&gt; BaoLiang 鲍亮
&gt; [email protected]



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

Reply via email to