[ https://issues.apache.org/jira/browse/SPARK-22847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-22847: ------------------------------------ Assignee: (was: Apache Spark) > Remove the duplicate code in AppStatusListener while assigning schedulingPool > for stage > ---------------------------------------------------------------------------------------- > > Key: SPARK-22847 > URL: https://issues.apache.org/jira/browse/SPARK-22847 > Project: Spark > Issue Type: Request > Components: Spark Core > Affects Versions: 2.2.1 > Reporter: wuyi > Priority: Minor > Labels: newbie > Fix For: 2.2.1 > > > In AppStatusListener's onStageSubmitted(event: SparkListenerStageSubmitted) > method, there are duplicate code: > {code:java} > // 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) > {code} > But, it does not make any sense to do this and there are no comment to > explain for this. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org