apache/dolphinscheduler

[Feature][Task - kill task] Support user to config kill signal type of killing process/task

Open

#17.106 aberto em 3 de abr. de 2025

Ver no GitHub
 (3 comments) (0 reactions) (1 assignee)Java (4.324 forks)batch import
UIbackendfeaturehelp wanted

Métricas do repositório

Stars
 (11.659 stars)
Métricas de merge de PR
 (Mesclagem média 2d 21h) (22 fundiu PRs em 30d)

Description

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

I noticed that if user try to kill the task/process, for example, a Java task, dophin scheduler will send "kill -9" which is "SIGKILL" signal to java worker process.

Would you please make the kill signal be configable? Becasue in some situation, we want worker process to send "I am killed" message to specific observer application or do something else to clean resource when user try to kill task/process via dophin scheduler. And if the worker process is killed by ""SIGKILL" signal, there is no chance for "JVM runtime hook" to do something when the process needed to exit.

Thererfore, would you please make the kill signal be configable? Thanks for your help.

Use case

User can be config the kill signal type of specific work process/task.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Guia do colaborador