Skip to content

SparkSubmitOperation

SparkSubmitOperation is an abstraction of operations of spark-submit (when requested to kill a submission or for a submission status).

Contract

Killing Submission

kill(
  submissionId: String,
  conf: SparkConf): Unit

Kills a given submission

Used when:

Displaying Submission Status

printSubmissionStatus(
  submissionId: String,
  conf: SparkConf): Unit

Displays status of a given submission

Used when:

Checking Whether Master URL Supported

supports(
  master: String): Boolean

Used when:

Implementations