class ExecutorPodsAllocator extends AbstractPodsAllocator with Logging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExecutorPodsAllocator
- Logging
- AbstractPodsAllocator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ExecutorPodsAllocator(conf: SparkConf, secMgr: SecurityManager, executorBuilder: KubernetesExecutorBuilder, kubernetesClient: KubernetesClient, snapshotsStore: ExecutorPodsSnapshotsStore, clock: Clock)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
EXECUTOR_ID_COUNTER: AtomicInteger
- Attributes
- protected
-
val
PVC_COUNTER: AtomicInteger
- Attributes
- protected
-
var
appId: String
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
var
deletedExecutorIds: Set[Long]
- Attributes
- protected
-
val
driverPod: Option[Pod]
- Definition Classes
- ExecutorPodsAllocator → AbstractPodsAllocator
-
val
driverPodReadinessTimeout: Long
- Attributes
- protected
-
val
dynamicAllocationEnabled: Boolean
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
executorIdleTimeout: Long
- Attributes
- protected
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getReusablePVCs(applicationId: String, pvcsInUse: Seq[String]): Buffer[PersistentVolumeClaim]
- Attributes
- protected
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
isDeleted(executorId: String): Boolean
- Definition Classes
- ExecutorPodsAllocator → AbstractPodsAllocator
-
def
isExecutorIdleTimedOut(state: ExecutorPodState, currentTime: Long): Boolean
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
val
kubernetesDriverPodName: Option[String]
- Attributes
- protected
-
var
lastSnapshot: ExecutorPodsSnapshot
- Attributes
- protected
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
val
maxPVCs: Int
- Attributes
- protected
-
val
maxPendingPods: Int
- Attributes
- protected
-
val
namespace: String
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
newlyCreatedExecutors: LinkedHashMap[Long, (Int, Long)]
- Attributes
- protected
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val numOutstandingPods: AtomicInteger
-
def
onNewSnapshots(applicationId: String, schedulerBackend: KubernetesClusterSchedulerBackend, snapshots: Seq[ExecutorPodsSnapshot]): Unit
- Attributes
- protected
-
val
podAllocOnPVC: Boolean
- Attributes
- protected
-
val
podAllocationDelay: Long
- Attributes
- protected
-
val
podAllocationSize: Int
- Attributes
- protected
-
val
podCreationTimeout: Long
- Attributes
- protected
-
def
replacePVCsIfNeeded(pod: Pod, resources: Seq[HasMetadata], reusablePVCs: Buffer[PersistentVolumeClaim]): Seq[HasMetadata]
- Attributes
- protected
-
def
requestNewExecutors(numExecutorsToAllocate: Int, applicationId: String, resourceProfileId: Int, pvcsInUse: Seq[String]): Unit
- Attributes
- protected
-
val
rpIdToResourceProfile: HashMap[Int, ResourceProfile]
- Attributes
- protected
-
val
schedulerKnownNewlyCreatedExecs: LinkedHashMap[Long, Int]
- Attributes
- protected
-
def
setTotalExpectedExecutors(resourceProfileToTotalExecs: Map[ResourceProfile, Int]): Unit
- Definition Classes
- ExecutorPodsAllocator → AbstractPodsAllocator
-
val
shouldDeleteExecutors: Boolean
- Attributes
- protected
-
def
start(applicationId: String, schedulerBackend: KubernetesClusterSchedulerBackend): Unit
- Definition Classes
- ExecutorPodsAllocator → AbstractPodsAllocator
-
def
stop(applicationId: String): Unit
- Definition Classes
- ExecutorPodsAllocator → AbstractPodsAllocator
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
totalExpectedExecutorsPerResourceProfileId: ConcurrentHashMap[Int, Int]
- Attributes
- protected
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()