Skip to content
Closed
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
remove duplicate code in AppStatusListener while assigning scheduling…
…Pool for stage
  • Loading branch information
Ngone51 committed Dec 20, 2017
commit ace04a5c75a0dc46e0575677be6be77ab6b58895
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,6 @@ private[spark] class AppStatusListener(
.toSeq
stage.jobIds = stage.jobs.map(_.jobId).toSet

stage.schedulingPool = Option(event.properties).flatMap { p =>
Option(p.getProperty("spark.scheduler.pool"))
}.getOrElse(SparkUI.DEFAULT_POOL_NAME)

stage.description = Option(event.properties).flatMap { p =>
Option(p.getProperty(SparkContext.SPARK_JOB_DESCRIPTION))
}
Expand Down