I may not understand what you mean, please make it clear, or can you tell me 
how to deal with this problem?




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

 
=======================================
 
UEBA研发侧        周安
 

 
上海观安信息技术股份有限公司
 
Information & Data Security Solutions Co.,Ltd. 
 
上海总部地址:上海市普陀区大渡河路388弄5号楼华宏商务中心6层
 
北京总部地址:北京市海淀区东北旺西路8号中关村软件园8号楼一层131室
 
手机:15665510082
 
上海总部电话:(021)62090100
 
WEB:www.idss-cn.com 

 

 
 
 
------------------ Original ------------------
From: &nbsp;"GabryWu"<[email protected]&gt;;
Date: &nbsp;Sat, May 9, 2020 05:44 PM
To: &nbsp;"dev"<[email protected]&gt;; 

Subject: &nbsp;回复: [DISCUSSION] Is it allowed to change the resource file 
suffix when update resource name?

&nbsp;

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


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

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



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





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

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



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

Reply via email to