Github user attilapiros commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20546#discussion_r167270757
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -1715,7 +1715,7 @@ class SparkContext(config: SparkConf) extends Logging 
{
       private[spark] def getRDDStorageInfo(filter: RDD[_] => Boolean): 
Array[RDDInfo] = {
    --- End diff --
    
    I have found something and I am not sure whether is it a bug. 
    Using rddStorageInfo.numCachedPartitions gives back a different value then 
the old storage util computed/updated rddInfo.numCachedPartitions.
    
    This is why I changed the assert in 
org.apache.spark.repl.SingletonReplSuite at "replicating blocks of object with 
class defined in repl".



---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to