File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
core/src/main/scala/org/apache/spark Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import java.io._
2121import java .lang .reflect .Constructor
2222import java .net .URI
2323import java .util .{Arrays , Properties , UUID }
24+ import java .util .concurrent .ConcurrentMap
2425import java .util .concurrent .atomic .{AtomicBoolean , AtomicInteger , AtomicReference }
2526import java .util .UUID .randomUUID
2627
@@ -272,7 +273,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
272273
273274 // Keeps track of all persisted RDDs
274275 private [spark] val persistentRdds = {
275- val map : ConcurrentMap [Int , RDD [_]] = new MapMaker ().weakValues().makeMap[Int , RDD [_]]()
276+ val map : ConcurrentMap [Int , RDD [_]] = new MapMaker ().weakValues().makeMap[Int , RDD [_]]()
276277 map.asScala
277278 }
278279 private [spark] def jobProgressListener : JobProgressListener = _jobProgressListener
You can’t perform that action at this time.
0 commit comments