I have some quesiton in your suggest [1].
1.What does mean the resource are already online or offline?Your suggest is we 
should add online or offline function of resource?
2.If resource can't deleted when it is used by the task node of the process 
definition which is offline or online. How to delete resource?need remove them 
out from all the task nodes of process definitions? please give more detail 
about your design.

Your other suggest is delete the resource should a soft-delete,I think it's 
good,but it need make detail design first.
Such as when you delete the resource,how to save the resource which is 
soft-deleteed in hdfs.
If you delete it,you will create the same name in the same directory,Is it ok? 
and I think you maybe delete it nexttime.So this will add the function of 
resource version manager.  

[1]You cannot delete resources that are already online. You can delete 
resources that are offline.If you are deleting resources, consider that as long 
as resources with associated tasks are not allowed to be deleted
 


DolphinScheduler(Incubator) PPMC
Gang Li ????

[email protected]<mailto:[email protected]>
 
???????? ??????
?????????? 2020-04-08 16:28
???????? dev
?????? ??????[discuss]when the resources are unauthorized or deleted,How does 
the task node ui give a tip??
1. The current resource deletion is a hard deletion, whether to consider using 
the soft deletion method, so that the front end can query the deleted resource
2. Currently, only delete resources that have already been launched. You cannot 
delete resources that are already online. You can delete resources that are 
offline. If you are deleting resources, consider that as long as resources with 
associated tasks are not allowed to be deleted
 
 
 
DolphinScheduler(Incubator) commiter
Caibiao Xiang ??????
 
 
------------------&nbsp;????????&nbsp;------------------
??????:&nbsp;"[email protected]"<[email protected]&gt;;
????????:&nbsp;2020??4??8??(??????) ????11:47
??????:&nbsp;"dev"<[email protected]&gt;;
 
????:&nbsp;[discuss]when the resources are unauthorized or deleted,How does the 
task node ui give a tip??
 
 
 
1.When delete some resources.
If you need delete some resources,the backend will check whether they exist in 
the process definition that which was already online.
If they exists,you will not delete them. 
So if the resources exist in the process definiton that which was offline,you 
will delete them.
 
2.When unauthorize some resources.
If administrtor need unauthorize some resources,the backend will check whether 
they exist in the process definition that which was already online.
If they exists,you will not delete them. 
 
Base on above,if you view the process definition which resources are deleted or 
unauthorzied,how dose the task node ui give a tip?
I think need display the resource name with red color or icon,and we couldn't 
choose them again.
 
Welcome everyone give some diffrent suggests.Thanks. 
 
 
DolphinScheduler(Incubator) PPMC
Gang Li ????
 
[email protected]<mailto:[email protected]&gt;

Reply via email to