public abstract class YarnSchedulerBackend extends CoarseGrainedSchedulerBackend
CoarseGrainedSchedulerBackend.DriverActor
Constructor and Description |
---|
YarnSchedulerBackend(TaskSchedulerImpl scheduler,
SparkContext sc) |
Modifier and Type | Method and Description |
---|---|
static String |
ACTOR_NAME() |
boolean |
doKillExecutors(scala.collection.Seq<String> executorIds)
Request that the ApplicationMaster kill the specified executors.
|
boolean |
doRequestTotalExecutors(int requestedTotal)
Request executors from the ApplicationMaster by specifying the total number desired.
|
boolean |
sufficientResourcesRegistered() |
actorSystem, conf, createTime, defaultParallelism, driverActor, isReady, killExecutors, killTask, maxRegisteredWaitingTime, minRegisteredRatio, numExistingExecutors, removeExecutor, requestExecutors, reviveOffers, start, stop, stopExecutors, taskIdsOnSlave, totalCoreCount, totalRegisteredExecutors
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
killExecutor
appId, applicationId
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public YarnSchedulerBackend(TaskSchedulerImpl scheduler, SparkContext sc)
public static String ACTOR_NAME()
public boolean doRequestTotalExecutors(int requestedTotal)
public boolean doKillExecutors(scala.collection.Seq<String> executorIds)
public boolean sufficientResourcesRegistered()
sufficientResourcesRegistered
in class CoarseGrainedSchedulerBackend