public interface ResourceUtilizationTracker
ContainerScheduler to determine which
 OPPORTUNISTIC containers to be killed to make room for a GUARANTEED
 container.| Modifier and Type | Method and Description | 
|---|---|
| void | addContainerResources(Container container)Add Container's resources to Node Utilization. | 
| org.apache.hadoop.yarn.api.records.ResourceUtilization | getCurrentUtilization()Get the current total utilization of all the Containers running on
 the node. | 
| boolean | hasResourcesAvailable(Container container)Check if NM has resources available currently to run the container. | 
| void | subtractContainerResource(Container container)Subtract Container's resources to Node Utilization. | 
org.apache.hadoop.yarn.api.records.ResourceUtilization getCurrentUtilization()
void addContainerResources(Container container)
container - Container.void subtractContainerResource(Container container)
container - Container.boolean hasResourcesAvailable(Container container)
container - Container.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.