Skip to content

[Feature] Introduce yarn queue setting to manage the queue resouce #2324

@RocMarshal

Description

@RocMarshal

Search before asking

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

Description

Intention

Maybe we could introduce the queue-resource-manage feature. There will be some advantage:

  • Keeping the available yarn-queues in streampark is helpful to keep the boundary between Streampark and yarn-cluster.
    • Prevent queue abuse.
    • Prevent failed submission caused by non-existent queue.
  • Make it easier for users to perceive and to user the available yarn queues.
    • Support select queue when users using the yarn-application & yarn-session mode to deploy the jobs.

What

  • The expected outline of the yarn queue management

image

image

  • Support select queue when deploying on yarn.

deploy yarn session
image

deploy yarn-application jobs
image

How

  • Introduce the yarn queue table to store the queue info
    fields:

    • id
    • team_id
    • queue_label
    • description
    • create_time
    • modify_time
      unique key unq_team_id_queue_label (team_id, queue_label)
  • Need to note: Check the queue references( by yarn-session clusters & yarn-application jobs) when delete yarn queue.

SubTasks

Usage Scenario

No response

Related issues

#2299

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

    feature/acceptedThis feature request is accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions