Skip to content

[Improvement][Worker]Introduce detached Task and manage life cycle #16717

@hanhanzhang

Description

@hanhanzhang

Search before asking

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

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:

  1. Determine whether the Task is Detached. After the Detached Task is submitted to external system, Worker thread is released, which can improve execution throughput of the worker node and report the task status (RUNNING) to the Master.
  2. Worker starts thread to periodically detect detached task state, and reports detached task state to the Master if task state is not expected.
  3. If worker failover, supervisory right transfer of detached task has not been done yet.

Share this transformation and listen to the community's suggestions for our renovation.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions