Class MappingRuleValidationHelper
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule.MappingRuleValidationHelper
This class' functionality needs to be merged into CapacityScheduler
or CapacitySchedulerQueueManager, but that will include a lot of testcase
changes, so temporarily the logic is extracted to this class.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StringnormalizeQueuePathRoot(CapacitySchedulerQueueManager queueManager, String fullPath) validateQueuePathAutoCreation(CapacitySchedulerQueueManager queueManager, String path)
-
Method Details
-
normalizeQueuePathRoot
public static String normalizeQueuePathRoot(CapacitySchedulerQueueManager queueManager, String fullPath) throws org.apache.hadoop.yarn.exceptions.YarnException - Throws:
org.apache.hadoop.yarn.exceptions.YarnException
-
validateQueuePathAutoCreation
public static MappingRuleValidationHelper.ValidationResult validateQueuePathAutoCreation(CapacitySchedulerQueueManager queueManager, String path)
-