java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.CGroupsMountConfig

public class CGroupsMountConfig extends Object
Stores config related to cgroups.
  • Constructor Details

    • CGroupsMountConfig

      public CGroupsMountConfig(org.apache.hadoop.conf.Configuration conf)
  • Method Details

    • ensureMountPathIsDefined

      public boolean ensureMountPathIsDefined() throws ResourceHandlerException
      Throws:
      ResourceHandlerException
    • isMountPathDefined

      public boolean isMountPathDefined()
    • isMountEnabled

      public boolean isMountEnabled()
    • mountDisabledButMountPathDefined

      public boolean mountDisabledButMountPathDefined()
    • mountEnabledAndMountPathDefined

      public boolean mountEnabledAndMountPathDefined()
    • getMountPath

      public String getMountPath()
    • getV2MountPath

      public String getV2MountPath()
    • toString

      public String toString()
      Overrides:
      toString in class Object