All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spark.deploy.ExecutorState.scala Maven / Gradle / Ivy

package spark.deploy

private[spark] object ExecutorState
  extends Enumeration("LAUNCHING", "LOADING", "RUNNING", "KILLED", "FAILED", "LOST") {

  val LAUNCHING, LOADING, RUNNING, KILLED, FAILED, LOST = Value

  type ExecutorState = Value

  def isFinished(state: ExecutorState): Boolean = Seq(KILLED, FAILED, LOST).contains(state)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy