apache/dolphinscheduler

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

Open

#15,738 opened on 2024年3月19日

GitHub で見る
 (24 comments) (0 reactions) (0 assignees)Java (4,324 forks)batch import
bughelp wanted

Repository metrics

Stars
 (11,659 stars)
PR merge metrics
 (平均マージ 2d 21h) (30d で 22 merged PRs)

説明

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

コントリビューターガイド