abzymeinsjtu commented on issue #16994:
URL: 
https://github.com/apache/dolphinscheduler/issues/16994#issuecomment-2642029556

   > > > * Do you means when failover we need to take-over the previous task 
which has already submitted to remote cluster?
   > > 
   > > 
   > > exactly
   > > e.g.
   > > when a scheduled task experienced a failover when remote application is 
still running, i think we should continue polling the state of existing 
application instead of starting a new one
   > 
   > Yes, this is recommmended implementation, this need to refactor the task 
plugin lifecycle, right now the task plugin in worker cannot know whether its a 
failover task instance or first run.
   
   this time i'll only make a practice in Aliyun Serverless Spark Task Plugin 
first. some common pieces of code may be put into abstract remote task plugin 
in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to