Class CGroupsV2MemoryResourceHandlerImpl

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

public class CGroupsV2MemoryResourceHandlerImpl 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.