Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion core/src/main/scala/org/apache/spark/SparkConf.scala
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,8 @@ private[spark] object SparkConf extends Logging {
DeprecatedConfig("spark.shuffle.service.index.cache.entries", "2.3.0",
"Not used anymore. Please use spark.shuffle.service.index.cache.size"),
DeprecatedConfig("spark.yarn.credentials.file.retention.count", "2.4.0", "Not used anymore."),
DeprecatedConfig("spark.yarn.credentials.file.retention.days", "2.4.0", "Not used anymore.")
DeprecatedConfig("spark.yarn.credentials.file.retention.days", "2.4.0", "Not used anymore."),
DeprecatedConfig("spark.yarn.services", "3.0.0", "Feature no longer available.")
)

Map(configs.map { cfg => (cfg.key -> cfg) } : _*)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,6 @@ package object config {
.timeConf(TimeUnit.MILLISECONDS)
.createWithDefaultString("200ms")

private[spark] val SCHEDULER_SERVICES = ConfigBuilder("spark.yarn.services")
.doc("A comma-separated list of class names of services to add to the scheduler.")
.stringConf
.toSequence
.createWithDefault(Nil)

private[spark] val AM_FINAL_MSG_LIMIT = ConfigBuilder("spark.yarn.am.finalMessageLimit")
.doc("The limit size of final diagnostic message for our ApplicationMaster to unregister from" +
" the ResourceManager.")
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ private[spark] abstract class YarnSchedulerBackend(
/** Attempt ID. This is unset for client-mode schedulers */
private var attemptId: Option[ApplicationAttemptId] = None

/** Scheduler extension services. */
private val services: SchedulerExtensionServices = new SchedulerExtensionServices()


/**
* Bind to YARN. This *must* be done before calling [[start()]].
*
Expand All @@ -90,8 +86,6 @@ private[spark] abstract class YarnSchedulerBackend(

protected def startBindings(): Unit = {
require(appId.isDefined, "application ID unset")
val binding = SchedulerExtensionServiceBinding(sc, appId.get, attemptId)
services.start(binding)
}

override def stop(): Unit = {
Expand All @@ -102,7 +96,6 @@ private[spark] abstract class YarnSchedulerBackend(
super.stop()
} finally {
stopped.set(true)
services.stop()
}
}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.