-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improvement][Worker]Introduce detached Task and manage life cycle #16717
Comments
We have no plans to support flink streaming task for now since this is a very huge task. |
Yeah, I understand. But for long running tasks(it doesn't have to be stream task), it is not possible to release the thread after task has been committed, and now submitting task thread will block waiting for Process to finish (timeout capability is currently supported). |
Flink detached task usually used in streaming mode. So I think they are the same. |
I understand your purpose. This modification method only applies to your internal, not to the common goals of the community. If it is to be realized, we should refactor task spi. Adding the life cycle management of task plugin in task spi, and provide it to each task plugin to realize life cycle management by itself. And then implement it in flink task plugin. The fundamental principle of task plugin is no invasion of worker. |
I agree, we are adding task state detection in task api and releasing Worker's task submit thread after task has been submitted. |
Are you saying that you want to refactor task api? If so, you should create an DSIP(#14102) issue first, and put full design detail in it for further discussion. |
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs. |
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future. |
Search before asking
Description
We use -d option parameter when deploying Flink tasks using the Dolphin framework. After Flink is submitted to the Yarn cluster, the lifecycle management of tasks is no longer managed by Dolphin. We hope that this Detached Task will also be managed by Dolphin, which is currently implemented internally:
Share this transformation and listen to the community's suggestions for our renovation.
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: