You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/07/04 07:45:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16073251#comment-16073251 ]
Apache Spark commented on SPARK-21298:
--------------------------------------
User 'Geek-He' has created a pull request for this issue:
https://github.com/apache/spark/pull/18526
> 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