apache/dolphinscheduler
Vedi su GitHub[Bug] [dolphinscheduler-worker] Unable to stop tasks in Seatunnel cluster
Open
#15.738 aperta il 19 mar 2024
bughelp wanted
Metriche repository
- Star
- (11.659 star)
- Metriche merge PR
- (Merge medio 2g 21h) (22 PR mergiate in 30 g)
Descrizione
Search before asking
- I had searched in the issues and found no similar issues.
What happened
我通过DS定时调度,使用Cluster模式启动Seatunnel任务。 然后通过DS页面中“工作流实例”->“操作”->“停止”按钮停止这个Seatunnel任务。
结果是,杀死了SeatunnelClient。 但事实上SeatunnelClient在Cluster模式下,只是讲任务提交到SeatunnelServer,真正执行任务在SeatunnelServer。 所以,杀死SeatunnelClient,只在Local模式下有用。 在Cluster模式下,需要调用Seatunnel提供的rest api -> "/hazelcast/rest/maps/stop-job"。
我本想自己实现在结束Seatunnel任务的同时调用这个接口,但我没有看到dolphinscheduler-task-seatunnel或dolphinscheduler-worker支持这样的扩展。
What you expected to happen
pass
How to reproduce
pass
Anything else
pass
Version
dev
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct