[jira] [Created] (SPARK-21298) The class "StorageListener" method "onStageSubmitted" don't need to change name when don't exist corresponding key

2017-07-04 Thread he.qiao (JIRA)
he.qiao created SPARK-21298:
---

 Summary: 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



<    1   2