Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
Description
In capacity scheduler, currently two resource allocations are supported. 1. percentage allocation for child queues - the child queue gets a defined percentage of the resources for all the resource types; 2. absolute values (YARN-5881) - each resource is configured an absolute values.
Right now we can't mix these case together and it would also very confusing to mix them in one cluster. The second case actually is more targeting toward cloud env.
In a non-cloud env, the ability to configure each resource independently is also useful, but percentage is preferable over absolute value. One thought here is to add the percentage configuration for each resource type on the queue. That would allow us to configure memory bounded queues, or CPU bounded queues. We can also keep backward compatible: each resource type just gets the same percentage if no percentage is configured for individual resource type.