Update style toi get cappedMultiplier from conf

This commit is contained in:
n.fraison 2019-05-06 09:00:58 +02:00
parent 7c2027c32e
commit 94593ed0f9
1 changed files with 3 additions and 5 deletions

View File

@ -139,9 +139,7 @@ public class CgroupsLCEResourcesHandler implements LCEResourcesHandler {
.NM_LINUX_CONTAINER_CGROUPS_STRICT_RESOURCE_USAGE,
YarnConfiguration
.DEFAULT_NM_LINUX_CONTAINER_CGROUPS_STRICT_RESOURCE_USAGE);
this.cappedMultiplier =
conf
.getFloat(
this.cappedMultiplier = conf.getFloat(
YarnConfiguration.NM_LINUX_CONTAINER_CGROUPS_CAPPED_MULTIPLIER,
YarnConfiguration.DEFAULT_NM_LINUX_CONTAINER_CGROUPS_CAPPED_MULTIPLIER);