Class FSYarnSiteConverter
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.converter.FSYarnSiteConverter
Converts a Fair Scheduler site configuration to Capacity Scheduler
site configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvertSiteProperties(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.conf.Configuration yarnSiteConfig, boolean drfUsed, boolean enableAsyncScheduler, boolean userPercentage, FSConfigToCSConfigConverterParams.PreemptionMode preemptionMode) booleanboolean
-
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()
-