[
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: [email protected]
For additional commands, e-mail: [email protected]