Class CGroupsMemoryResourceHandlerImpl

java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.AbstractCGroupsMemoryResourceHandler
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.CGroupsMemoryResourceHandlerImpl
All Implemented Interfaces:
MemoryResourceHandler, ResourceHandler

@Private @Unstable public class CGroupsMemoryResourceHandlerImpl extends AbstractCGroupsMemoryResourceHandler
Handler class to handle the memory controller. YARN already ships a physical memory monitor in Java but it isn't as good as CGroups. This handler sets the soft and hard memory limits. The soft limit is set to 90% of the hard limit.