Support Questions

Find answers, ask questions, and share your expertise

What is the significance of user limit factor while configuring queues in yarn queue manager in ambari?

avatar
Expert Contributor
 
2 ACCEPTED SOLUTIONS

avatar
Contributor

Hi @Ram D

The explanation for the parameter is:

The multiple of the queue capacity which can be configured to allow a single user to acquire more resources. By default this is set to 1 which ensures that a single user can never take more than the queue's configured capacity irrespective of how idle the cluster is. Value is specified as a float.

There are two queue parms capacity and max capacity.

The max determines elasticity and it is at queue level.

We have to adjust the user-limit-factor so that user can leverage more than just the capacity. What it says is a user can use X number of times the capacity of the queue within under max capacity.

Hope this helps !

View solution in original post

avatar
Expert Contributor

If you put User Limit Factor as 3.5 it will take over the minimum queue capacity and will go towards max capacity of the queue.
Let's say if the Minimum capacity of queue is 20% putting user limit factor of 3.5 will give the user to get resources till 70% if that limit is within the max limit of the queue other the queues max limit will be the limit for the user.

View solution in original post

6 REPLIES 6

avatar
Expert Contributor

@Neeraj Sabharwal @Artem Ervits Can anyone help me with explanation? if i put user limit factor as 3.5, what it will do?

avatar
Expert Contributor

If you put User Limit Factor as 3.5 it will take over the minimum queue capacity and will go towards max capacity of the queue.
Let's say if the Minimum capacity of queue is 20% putting user limit factor of 3.5 will give the user to get resources till 70% if that limit is within the max limit of the queue other the queues max limit will be the limit for the user.

avatar
Contributor

avatar
Expert Contributor

I am asking about user limit factor in yarn queue manager? if we click on created queue under root, it shows user limit factor. what is the significance of it?

avatar
Contributor

Hi @Ram D

The explanation for the parameter is:

The multiple of the queue capacity which can be configured to allow a single user to acquire more resources. By default this is set to 1 which ensures that a single user can never take more than the queue's configured capacity irrespective of how idle the cluster is. Value is specified as a float.

There are two queue parms capacity and max capacity.

The max determines elasticity and it is at queue level.

We have to adjust the user-limit-factor so that user can leverage more than just the capacity. What it says is a user can use X number of times the capacity of the queue within under max capacity.

Hope this helps !

avatar
Expert Contributor

Thank you. @bmadala