Allow specifying min shares as percentage of cluster
----------------------------------------------------
Key: HADOOP-5262
URL: https://issues.apache.org/jira/browse/HADOOP-5262
Project: Hadoop Core
Issue Type: New Feature
Components: contrib/fair-share
Reporter: Matei Zaharia
Priority: Minor
Currently the guaranteed shares for pools in the fair scheduler are specified
as a number of slots. For organizations where a group pays X% of the cluster
and the actual number of nodes in the cluster varies due to failures,
expansion, etc over time, it would be useful to support a guaranteed share
given as a percentage too. This would just let you write in the config file
something like <minMaps>5%</minMaps> instead of <minMaps>42</minMaps>. The
scheduler would need to recompute what this means in terms of number of slots
on every update (probably through some kind of update(ClusterStatus) method in
PoolManager).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.