apache/dolphinscheduler
在 GitHub 查看[Bug] [dolphinscheduler-worker] Unable to stop tasks in Seatunnel cluster
Open
#15,738 创建于 2024年3月19日
bughelp wanted
仓库指标
- Star
- (11,659 star)
- PR 合并指标
- (平均合并 2天 21小时) (30 天内合并 22 个 PR)
描述
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