Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Yarn Capacity Scheduler: Share resource between users and queues

avatar
Rising Star

Hi,

I am having some trouble settings the following scheduler queues params:

have 2 queue Dev and Prod

  • Root 100%
    • Dev 30%
    • Prod 70%

(if only one used it should act as 100% of cluster)

Each queue is used by multiple users and resources should be shared equally, but when only one user exists(in each queue) it should use the entire capacity of the queue. And if the user alone in the cluster it should use 100% of the cluster in case of second user join, the scheduler should share the available resources

example flow:

  • cluster is free of jobs
  • user A submit job at queue Dev. (it now uses 100% of the cluster)
  • user B submit job at queue Dev (it hangs in accepted)

i want that the users will share the capacity of the cluster, each should receive 50%

11 REPLIES 11

avatar
Super Collaborator

@Ilia K
What maintenance is needed ? You can use user mapping in order to set which user will use which queue....

avatar
New Contributor