org.apache.spark.scheduler.cluster

SchedulerExtensionServiceBinding

case class SchedulerExtensionServiceBinding(sparkContext: SparkContext, applicationId: ApplicationId, attemptId: Option[ApplicationAttemptId] = scala.None) extends Product with Serializable

Binding information for a SchedulerExtensionService.

The attempt ID will be set if the service is started within a YARN application master; there is then a different attempt ID for every time that AM is restarted. When the service binding is instantiated in client mode, there's no attempt ID, as it lacks this information.

sparkContext

current spark context

applicationId

YARN application ID

attemptId

YARN attemptID. This will always be unset in client mode, and always set in cluster mode.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SchedulerExtensionServiceBinding
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SchedulerExtensionServiceBinding(sparkContext: SparkContext, applicationId: ApplicationId, attemptId: Option[ApplicationAttemptId] = scala.None)

    sparkContext

    current spark context

    applicationId

    YARN application ID

    attemptId

    YARN attemptID. This will always be unset in client mode, and always set in cluster mode.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val applicationId: ApplicationId

    YARN application ID

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val attemptId: Option[ApplicationAttemptId]

    YARN attemptID.

    YARN attemptID. This will always be unset in client mode, and always set in cluster mode.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. val sparkContext: SparkContext

    current spark context

  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped