-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56511/
-----------------------------------------------------------
Review request for Ambari, Andrew Onischuk, Dmytro Sen, Sumit Mohanty, and Sid
Wagle.
Bugs: AMBARI-19947
https://issues.apache.org/jira/browse/AMBARI-19947
Repository: ambari
Description
-------
We requires admin enables YARN preemption to make sure LLAP daemon can be
launched in a shared cluster.
And
yarn.scheduler.capacity.ordering-policy.priority-utilization.underutilized-preemption.enabled=true
need to be set to make preemption can happen under a fragmented cluster.
So once admin enables preemption, we can automatically set
yarn.scheduler.capacity.ordering-policy.priority-utilization.underutilized-preemption.enabled
to true.
This option
(yarn.scheduler.capacity.ordering-policy.priority-utilization.underutilized-preemption.enabled)
only supported by HDP-2.6 and after, it has no effect on HDP 2.5 and before.
Diffs
-----
ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
555768e
ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py
957d625
Diff: https://reviews.apache.org/r/56511/diff/
Testing
-------
mvn clean test
Thanks,
Vitalyi Brodetskyi