dotnet / dotnet/spark

Handle "kill" signal better in DaemonServer.

Open
#29 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
2.1k
Forks
332
Avg merge
1d 20h
Merged PRs (30d)
9

Description

According to Spark's PythonRunner.scala, the daemon server receives task runner id to kill. Currently, the server doesn't handle it and may leak a Task object. We need to introduce cancellation token in TaskRunner and launch Task with the token.

More detailed description can be found in DaemonWorker.WaitForSignal().

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.