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

    https://github.com/apache/spark/pull/3310#discussion_r20454389
  
    --- Diff: core/src/main/scala/org/apache/spark/rdd/RDD.scala ---
    @@ -1309,7 +1309,7 @@ abstract class RDD[T: ClassTag](
         def debugSelf (rdd: RDD[_]): Seq[String] = {
           import Utils.bytesToString
     
    -      val persistence = storageLevel.description
    +      val persistence = if (storageLevel != StorageLevel.NONE) 
storageLevel.description else ""
           val storageInfo = rdd.context.getRDDStorageInfo.filter(_.id == 
rdd.id).map(info =>
    --- End diff --
    
    Because of the `map` statement in this line, the storage info won't be 
displayed unless there are actually cached partitions.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to