Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.2.1
-
Patch
Description
In AppStatusListener's onStageSubmitted(event: SparkListenerStageSubmitted) method, there are duplicate code:
// schedulingPool was assigned twice with the same code stage.schedulingPool = Option(event.properties).flatMap { p => Option(p.getProperty("spark.scheduler.pool")) }.getOrElse(SparkUI.DEFAULT_POOL_NAME)
But, it does not make any sense to do this and there are no comment to explain for this.