Skip to content

Commit 9704bc2

Browse files
committed
Add missing import.
1 parent 8b7ca1c commit 9704bc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import java.io._
2121
import java.lang.reflect.Constructor
2222
import java.net.URI
2323
import java.util.{Arrays, Properties, UUID}
24+
import java.util.concurrent.ConcurrentMap
2425
import java.util.concurrent.atomic.{AtomicBoolean, AtomicInteger, AtomicReference}
2526
import 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

0 commit comments

Comments
 (0)