public class SchedulerBackendUtils
extends Object
| Constructor and Description | 
|---|
SchedulerBackendUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static int | 
DEFAULT_NUMBER_EXECUTORS()  | 
static int | 
getInitialTargetExecutorNumber(SparkConf conf,
                              int numExecutors)
Getting the initial target number of executors depends on whether dynamic allocation is
 enabled. 
 | 
public static int DEFAULT_NUMBER_EXECUTORS()
public static int getInitialTargetExecutorNumber(SparkConf conf, int numExecutors)
conf - (undocumented)numExecutors - (undocumented)