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

public class FSYarnSiteConverter extends Object
Converts a Fair Scheduler site configuration to Capacity Scheduler site configuration.
  • Constructor Details

    • FSYarnSiteConverter

      public FSYarnSiteConverter()
  • Method Details

    • convertSiteProperties

      public void convertSiteProperties(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.conf.Configuration yarnSiteConfig, boolean drfUsed, boolean enableAsyncScheduler, boolean userPercentage, FSConfigToCSConfigConverterParams.PreemptionMode preemptionMode)
    • isPreemptionEnabled

      public boolean isPreemptionEnabled()
    • isSizeBasedWeight

      public boolean isSizeBasedWeight()