Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.3.0
-
None
Description
Start spark as:
$ bin/spark-shell --master local-cluster[2,1,1024]
scala> import org.apache.spark.storage.StorageLevel._ import org.apache.spark.storage.StorageLevel._ scala> sc.parallelize((1 to 100), 10).persist(MEMORY_AND_DISK_2).count res0: Long = 100 scala> sc.getRDDStorageInfo(0).numCachedPartitions res1: Int = 20
Cached Partitions
On the UI at the Storage tab Cached Partitions is 10:
.
Full tab
Moreover the replicated partitions was also listed on the old 2.2.1 like:
But now it is like: