You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "he.qiao (JIRA)" <ji...@apache.org> on 2017/07/06 00:39:01 UTC
[jira] [Closed] (SPARK-21298) The class "StorageListener" method
"onStageSubmitted" don't need to change name when don't exist corresponding
key
[ https://issues.apache.org/jira/browse/SPARK-21298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
he.qiao closed SPARK-21298.
---------------------------
Resolution: Not A Problem
> The class "StorageListener" method "onStageSubmitted" don't need to change name when don't exist corresponding key
> ------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-21298
> URL: https://issues.apache.org/jira/browse/SPARK-21298
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.3.0
> Reporter: he.qiao
> Priority: Minor
>
> In the class "StorageListener" , the method "onStageSubmitted", I think the code "rddInfos.foreach { info => _rddInfoMap.getOrElseUpdate(info.id, info).name = info.name }" should be modified to "rddInfos.foreach { info => _rddInfoMap.getOrElseUpdate(info.id, info) }". When it has existed info.id, olny to return info, and no need to modified info.name value.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org