+1
i suggest put this change in version 1.3.0

lidong dai <dailidon...@gmail.com> 于2020年5月14日周四 下午7:49写道:

> very good, This discussion is very productive, haha
>
>
>
> Best Regards
> ---------------
> DolphinScheduler(Incubator) PPMC
> Lidong Dai 代立冬
> dailidon...@gmail.com
> ---------------
>
>
> lgcareer2...@outlook.com <lgcareer2...@outlook.com> 于2020年5月14日周四
> 下午4:48写道:
>
> > @caibiao
> > great,I can modify the backend.
> >
> >
> >
> > DolphinScheduler(Incubator) PPMC
> > Gang Li 李岗
> >
> > lgcareer2...@outlook.com<mailto:lgcareer2...@outlook.com>
> >
> > 发件人: 向偲彪
> > 发送时间: 2020-05-14 13:54
> > 收件人: dev
> > 主题: 回复: 回复: [DISCUSSION] Is it allowed to change the resource file suffix
> > when update resource name?
> > 1. I agree to modify only unauthorized file resources
> > 2. May I ask who modified the backend, I can complete the modification of
> > the frontend
> >
> >
> >
> >
> >
> > DolphinScheduler(Incubator) committer
> > Caibiao Xiang 向偲彪
> >
> >
> > ------------------&nbsp;原始邮件&nbsp;------------------
> > 发件人:&nbsp;"lgcareer2...@outlook.com"<lgcareer2...@outlook.com&gt;;
> > 发送时间:&nbsp;2020年5月14日(星期四) 中午1:42
> > 收件人:&nbsp;"dev"<dev@dolphinscheduler.apache.org&gt;;
> > 抄送:&nbsp;"gaojun2048"<gaojun2...@gmail.com&gt;;"leonbao"<
> > leon...@apache.org&gt;;"向偲彪"<xiangcaib...@qq.com&gt;;"wu_shao_jie"<
> > wu_shao_...@qq.com&gt;;"zhouan"<zho...@idss-cn.com&gt;;"3656562"<
> > 3656...@qq.com&gt;;
> > 主题:&nbsp;Re: 回复: [DISCUSSION] Is it allowed to change the resource file
> > suffix when update resource name?
> >
> >
> >
> > Thanks for detail discussion.
> >
> > I saw most agree that the resource suffix can be modified.
> > But if the user want to rename the resource suffix and this resource is
> > authorized to other users. It's better to notify others.
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> > I think we can split it into two topic.
> > 1.Whether we support modify the resource suffix.
> > &nbsp;&nbsp;&nbsp; I think if the resource is not authorized to other
> > users,we reached consensus to modify it.We can support it now.
> >
> > 2.If the resource is authorzied to other users,Whether need to notify the
> > event to other users those who have the permisson of this resource.
> > &nbsp;&nbsp;&nbsp; I think it's better to create a new email thread to
> > discuss. Include whether need notify,how to notify and so on.
> >
> >
> >
> >
> > DolphinScheduler(Incubator) PPMC
> > Gang Li 李岗
> >
> > lgcareer2...@outlook.com<mailto:lgcareer2...@outlook.com&gt;
> > &nbsp;
> > 发件人: GabryWu
> > 发送时间: 2020-05-11 13:35
> > 收件人: dev
> > 抄送: gaojun2048
> > 主题: 回复: 回复: [DISCUSSION] Is it allowed to change the resource file suffix
> > when update resource name?
> > 1. All modifications cannot be made silently, and must be approved by the
> > user, because this may cause errors to others who use this file And loss.
> > &nbsp;
> > &nbsp;
> > Yes ,&amp;nbsp; &amp;nbsp;minority is subordinate to the majority, if so
> > many users used the resource file,
> > then we can't simply think the suffix is wrong.&amp;nbsp;
> > who should make this decision that the suffix is wrong ?
> > &nbsp;
> > &nbsp;
> > ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
> > 发件人:&amp;nbsp;"JUN GAO"<gaojun2...@gmail.com&amp;gt;;
> > 发送时间:&amp;nbsp;2020年5月11日(星期一) 中午1:27
> > 收件人:&amp;nbsp;"dev"<dev@dolphinscheduler.apache.org&amp;gt;;
> > 抄送:&amp;nbsp;"GabryWu"<wu_shao_...@qq.com&amp;gt;;
> > 主题:&amp;nbsp;Re: 回复: [DISCUSSION] Is it allowed to change the resource
> > file suffix when update resource name?
> > &nbsp;
> > &nbsp;
> > &nbsp;
> > I agree with @GabryWu
> > I think once the resource file is used by others, it is best not to
> modify
> > it directly.
> > For the modification of resource files that can be used by other people,
> we
> > should abide by a principle:
> > 1. All modifications cannot be made silently, and must be approved by the
> > user, because this may cause errors to others who use this file And loss.
> > 2. If we need to modify this file, the best way is to create a new file,
> > and then notify the user that the user can choose to use the new file or
> > continue to use the original file.
> > &nbsp;
> > lgcareer2...@outlook.com <lgcareer2...@outlook.com&amp;gt; 于2020年5月9日周六
> > 下午7:35写道:
> > &nbsp;
> > &amp;gt; May be I didn't describe clearly.I try to describe clearly.
> > &amp;gt; The resource name I said means the resource full name,it
> includes
> > name and
> > &amp;gt; suffix.
> > &amp;gt; @GabryWu
> > &amp;gt; &amp;gt; Why we should consider two files with different suffix
> > is the same file ?
> > &amp;gt;&amp;nbsp; If so ,what's meaning of the file suffix?
> > &amp;gt;
> > &amp;gt; Now verify the uniqueness of the resource file,it need verfiy
> the
> > resource
> > &amp;gt; full name.
> > &amp;gt;
> > &amp;gt;
> > &amp;gt;
> > &amp;gt;
> > &amp;gt;
> > &amp;gt; DolphinScheduler(Incubator) PPMC
> > &amp;gt; Gang Li 李岗
> > &amp;gt;
> > &amp;gt; lgcareer2...@outlook.com<mailto:lgcareer2...@outlook.com
> &amp;gt;
> > &amp;gt;
> > &amp;gt; 发件人: GabryWu
> > &amp;gt; 发送时间: 2020-05-09 17:17
> > &amp;gt; 收件人: dev
> > &amp;gt; 抄送: lgcareer2019
> > &amp;gt; 主题: 回复: [DISCUSSION] Is it allowed to change the resource file
> > suffix when
> > &amp;gt; update resource name?
> > &amp;gt; after writing a long code file, i select a wrong suffix. if
> > cannot rename
> > &amp;gt; the suffix, i have to delete the file and create a new one. It's
> > very
> > &amp;gt; inconvenient.
> > &amp;gt; --------------------------------------
> > &amp;gt; convenient is another thing! We should make the logic
> reasonable.
> > &amp;gt; If resource file name can't be changed at all, that can avoid a
> > lot of
> > &amp;gt; problems.
> > &amp;gt; We can clone one resource file from another ,which equals to
> > &amp;gt; DELETING-AND-CREATING
> > &amp;gt;
> > &amp;gt; ------------------ 原始邮件 ------------------
> > &amp;gt; 发件人: "leon bao"<leon...@apache.org&amp;gt;;
> > &amp;gt; 发送时间: 2020年5月9日(星期六) 下午5:10
> > &amp;gt; 收件人: "dev"<dev@dolphinscheduler.apache.org&amp;gt;;
> > &amp;gt; 抄送: "lgcareer2019"<lgcareer2...@outlook.com&amp;gt;;
> > &amp;gt; 主题: Re: [DISCUSSION] Is it allowed to change the resource file
> > suffix when
> > &amp;gt; update resource name?
> > &amp;gt;
> > &amp;gt; there is a issue about this:
> > &amp;gt;
> https://github.com/apache/incubator-dolphinscheduler/issues/1397
> > &amp;gt
> > <https://github.com/apache/incubator-dolphinscheduler/issues/1397&amp;gt
> >;
> > &amp;gt; in summary, the issue reporter cannot preview the renamed
> > resource when it
> > &amp;gt; was renamed a wrong suffix.
> > &amp;gt; but i think this is not a bug, because if suffix is
> > wrong,&amp;nbsp; you can rename
> > &amp;gt; a right one.
> > &amp;gt;
> > &amp;gt; @GabryWu
> > &amp;gt; after writing a long code file, i select a wrong suffix. if
> > cannot rename
> > &amp;gt; the suffix, i have to delete the file and create a new one. It's
> > very
> > &amp;gt; inconvenient.
> > &amp;gt;
> > &amp;gt;
> > &amp;gt; @lgcareer2019
> > &amp;gt;
> > &amp;gt; We should trust the user, before changing the file suffix, user
> > clearly
> > &amp;gt; know the file suffix is wrong.
> > &amp;gt; At the same time,&amp;nbsp; the resource is used as 'resource
> id'
> > in task
> > &amp;gt; definition, not 'resource name' ,&amp;nbsp; so there is nothing
> > with the task when
> > &amp;gt; renaming the resource suffix.
> > &amp;gt;
> > &amp;gt;
> > &amp;gt;
> > &amp;gt;
> > &amp;gt;
> > &amp;gt; GabryWu <wu_shao_...@qq.com&amp;gt; 于2020年5月9日周六 下午4:06写道:
> > &amp;gt;
> > &amp;gt; &amp;gt; I think the resource file name (including suffix) can't
> > be changed, which
> > &amp;gt; &amp;gt; contents can be
> overwritten.&amp;amp;nbsp;&amp;amp;nbsp;
> > &amp;gt; &amp;gt; Why we should consider two files with different suffix
> > is the same file ?
> > &amp;gt; &amp;gt; If so ,what's meaning of the file suffix?
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt; if user want to delete a resource file, a tips telling
> > that the file is
> > &amp;gt; &amp;gt; used by some job is better
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt;
> > ------------------&amp;amp;nbsp;原始邮件&amp;amp;nbsp;------------------
> > &amp;gt; &amp;gt; 发件人:&amp;amp;nbsp;"lgcareer2...@outlook.com"<
> > lgcareer2...@outlook.com&amp;amp;gt;;
> > &amp;gt; &amp;gt; 发送时间:&amp;amp;nbsp;2020年5月9日(星期六) 下午3:54
> > &amp;gt; &amp;gt; 收件人:&amp;amp;nbsp;"dev"<
> dev@dolphinscheduler.apache.org
> > &amp;amp;gt;;
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt; 主题:&amp;amp;nbsp;[DISCUSSION] Is it allowed to change
> > the resource file suffix
> > &amp;gt; &amp;gt; when update resource name?
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt; Hi Dev Team.
> > &amp;gt; &amp;gt; Here is a short topic[1] to discuss.
> > &amp;gt; &amp;gt; Background
> > &amp;gt; &amp;gt; 1. User has created a resource that which name is
> > example and suffix is
> > &amp;gt; &amp;gt; txt.
> > &amp;gt; &amp;gt; 2. The above resource has been authorzied to other
> users
> > and it was used
> > &amp;gt; &amp;gt; by some process definitons.
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt; To Discuss
> > &amp;gt; &amp;gt; If a user need update the resource name,Is it allowed
> to
> > change the
> > &amp;gt; &amp;gt; resource file suffix when update resource name?
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt; If it is allowed to change the resource file suffix,May
> > be lead to a
> > &amp;gt; &amp;gt; problem that the tasks those which used this resource
> > maybe executed
> > &amp;gt; &amp;gt; failure.
> > &amp;gt; &amp;gt; If it is not allowed to change the resource file,If
> > created the resource
> > &amp;gt; &amp;gt; and found the resource suffix is wrong,The user has to
> > delete it and
> > &amp;gt; create
> > &amp;gt; &amp;gt; it again.
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt; Please feel free to discuss.
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt; 1.
> > https://github.com/apache/incubator-dolphinscheduler/issues/2598
> > &amp;gt
> > <https://github.com/apache/incubator-dolphinscheduler/issues/2598&amp;gt
> >;
> > &amp;gt;
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt; DolphinScheduler(Incubator) PPMC
> > &amp;gt; &amp;gt; Gang Li 李岗
> > &amp;gt; &amp;gt;
> > &amp;gt; &amp;gt; lgcareer2...@outlook.com<mailto:
> lgcareer2...@outlook.com
> > &amp;amp;gt;
> > &amp;gt;
> > &amp;gt;
> > &amp;gt;
> > &amp;gt; --
> > &amp;gt; DolphinScheduler(Incubator)&amp;nbsp; PPMC
> > &amp;gt; BaoLiang 鲍亮
> > &amp;gt; leon...@apache.org
> > &amp;gt;
> > &amp;gt;
> > &nbsp;
> > --
> > &nbsp;
> > DolphinScheduler(Incubator)&amp;nbsp; PPMC
> > Jun Gao 高俊
> > gaojun2...@gmail.com
> >
>


-- 
DolphinScheduler(Incubator)  PPMC
BaoLiang 鲍亮
leon...@apache.org

Reply via email to