Skip to content

Commit

Permalink
[Hot Fix #42] Persisted RDD disappears on storage page if re-used
Browse files Browse the repository at this point in the history
If a previously persisted RDD is re-used, its information disappears from the Storage page.

This is because the tasks associated with re-using the RDD do not report the RDD's blocks as updated (which is correct). On stage submit, however, we overwrite any existing information regarding that RDD with a fresh one, whether or not the information for the RDD already exists.

Author: Andrew Or <[email protected]>

Closes #281 from andrewor14/ui-storage-fix and squashes the following commits:

408585a [Andrew Or] Fix storage UI bug
  • Loading branch information
andrewor14 authored and pwendell committed Apr 1, 2014
1 parent 94fe7fd commit ada310a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private[ui] class BlockManagerListener(storageStatusListener: StorageStatusListe

override def onStageSubmitted(stageSubmitted: SparkListenerStageSubmitted) = synchronized {
val rddInfo = stageSubmitted.stageInfo.rddInfo
_rddInfoMap(rddInfo.id) = rddInfo
_rddInfoMap.getOrElseUpdate(rddInfo.id, rddInfo)
}

override def onStageCompleted(stageCompleted: SparkListenerStageCompleted) = synchronized {
Expand Down

0 comments on commit ada310a

Please sign in to comment.