apache/dolphinscheduler

[Bug] [dolphinscheduler-worker] Unable to stop tasks in Seatunnel cluster

Open

#15,738 建立於 2024年3月19日

在 GitHub 查看
 (24 留言) (0 反應) (0 負責人)Java (4,324 fork)batch import
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

貢獻者指南