Update style toi get cappedMultiplier from conf
This commit is contained in:
parent
7c2027c32e
commit
94593ed0f9
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue