Class SchedulerBackendUtils

Object
org.apache.spark.scheduler.cluster.SchedulerBackendUtils

public class SchedulerBackendUtils extends Object
  • Constructor Details

    • SchedulerBackendUtils

      public SchedulerBackendUtils()
  • Method Details

    • DEFAULT_NUMBER_EXECUTORS

      public static int DEFAULT_NUMBER_EXECUTORS()
    • getInitialTargetExecutorNumber

      public static int getInitialTargetExecutorNumber(SparkConf conf, int numExecutors)
      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)