Class FSConfigToCSConfigRuleHandler

java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.FSConfigToCSConfigRuleHandler

public class FSConfigToCSConfigRuleHandler extends Object
Class that determines what should happen if the FS->CS converter encounters a property that is currently not supported. Acceptable values are either "abort" or "warning".
  • Field Details

  • Constructor Details

    • FSConfigToCSConfigRuleHandler

      public FSConfigToCSConfigRuleHandler(ConversionOptions conversionOptions)
  • Method Details

    • initPropertyActions

      public void initPropertyActions()
    • handleMaxCapacityPercentage

      public void handleMaxCapacityPercentage(String queueName)
    • handleMaxChildCapacity

      public void handleMaxChildCapacity()
    • handleMaxResources

      public void handleMaxResources()
    • handleMinResources

      public void handleMinResources()
    • handleChildQueueCount

      public void handleChildQueueCount(String queue, int count)
    • handleDynamicMaxAssign

      public void handleDynamicMaxAssign()
    • handleReservationSystem

      public void handleReservationSystem()
    • handleFairAsDrf

      public void handleFairAsDrf(String queueName)
    • handleRuleAutoCreateFlag

      public void handleRuleAutoCreateFlag(String queue)
    • handleFSParentCreateFlag

      public void handleFSParentCreateFlag(String parentPath)
    • handleChildStaticDynamicConflict

      public void handleChildStaticDynamicConflict(String parentPath)
    • handleFSParentAndChildCreateFlagDiff

      public void handleFSParentAndChildCreateFlagDiff(Rule.Policy policy)
    • getActions

      @VisibleForTesting public Map<String,org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.FSConfigToCSConfigRuleHandler.RuleAction> getActions()