Uses of Class
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.ConfigurableResource
Packages that use ConfigurableResource
Package
Description
-
Uses of ConfigurableResource in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair
Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair that return ConfigurableResourceModifier and TypeMethodDescriptionFSQueue.getMaxChildQueueResource()FSQueue.getRawMaxShare()static ConfigurableResourceFairSchedulerConfiguration.parseResourceConfigValue(String value) Parses a resource config value in one of three forms: Percentage: "50%" or "40% memory, 60% cpu" New style resources: "vcores=10, memory-mb=1024" or "vcores=60%, memory-mb=40%" Old style resources: "1024 mb, 10 vcores" In new style resources, any resource that is not specified will be set toLong.MAX_VALUEor 100%, as appropriate.static ConfigurableResourceFairSchedulerConfiguration.parseResourceConfigValue(String value, long missing) Parses a resource config value in one of three forms: Percentage: "50%" or "40% memory, 60% cpu" New style resources: "vcores=10, memory-mb=1024" or "vcores=60%, memory-mb=40%" Old style resources: "1024 mb, 10 vcores" In new style resources, any resource that is not specified will be set tomissingor 0%, as appropriate.Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair with parameters of type ConfigurableResourceModifier and TypeMethodDescriptionvoidFSQueue.setMaxChildQueueResource(ConfigurableResource maxChildShare) voidFSQueue.setMaxShare(ConfigurableResource maxShare) -
Uses of ConfigurableResource in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.allocation
Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.allocation that return ConfigurableResourceMethods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.allocation that return types with arguments of type ConfigurableResourceModifier and TypeMethodDescriptionQueueProperties.getMaxChildQueueResources()QueueProperties.Builder.getMaxQueueResources()QueueProperties.getMaxQueueResources()Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.allocation with parameters of type ConfigurableResourceModifier and TypeMethodDescriptionQueueProperties.Builder.maxChildQueueResources(String queueName, ConfigurableResource resource) QueueProperties.Builder.maxQueueResources(String queueName, ConfigurableResource resource)