Uses of Class
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationConfigurationException
Packages that use AllocationConfigurationException
Package
Description
-
Uses of AllocationConfigurationException in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair
Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair that throw AllocationConfigurationExceptionModifier and TypeMethodDescriptionstatic SchedulingPolicyReturnsSchedulingPolicyinstance corresponding to theSchedulingPolicypassed as a string.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.voidAllocationFileLoaderService.reloadAllocations()Updates the allocation list from the allocation config file.Constructors in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair that throw AllocationConfigurationExceptionModifierConstructorDescriptionAllocationConfiguration(QueueProperties queueProperties, AllocationFileParser allocationFileParser, ReservationQueueConfiguration globalReservationQueueConfig) Create a fully initialised configuration for the scheduler. -
Uses of AllocationConfigurationException in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.allocation
Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.allocation that throw AllocationConfigurationExceptionModifier and TypeMethodDescriptionAllocationFileParser.getQueueMaxResourcesDefault()voidAllocationFileParser.parse()AllocationFileQueueParser.parse()