Class SchedulerBackendUtils
Object
org.apache.spark.scheduler.cluster.SchedulerBackendUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static int
getInitialTargetExecutorNumber
(SparkConf conf, int numExecutors) Getting the initial target number of executors depends on whether dynamic allocation is enabled.
-
Constructor Details
-
SchedulerBackendUtils
public SchedulerBackendUtils()
-
-
Method Details
-
DEFAULT_NUMBER_EXECUTORS
public static int DEFAULT_NUMBER_EXECUTORS() -
getInitialTargetExecutorNumber
Getting the initial target number of executors depends on whether dynamic allocation is enabled. If not using dynamic allocation it gets the number of executors requested by the user.- Parameters:
conf
- (undocumented)numExecutors
- (undocumented)- Returns:
- (undocumented)
-