spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-21298) The class "StorageListener" method "onStageSubmitted" don't need to change name when don't exist corresponding key
Date Tue, 04 Jul 2017 07:45:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-21298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apache Spark reassigned SPARK-21298:
------------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>            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


Mime
View raw message