shahidki31 commented on a change in pull request #24398: 
[SPARK-27468][Core][WEBUI] BlockUpdate replication event shouldn't overwrite 
storage level description in the UI
URL: https://github.com/apache/spark/pull/24398#discussion_r276719735
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/status/LiveEntity.scala
 ##########
 @@ -510,6 +510,7 @@ private class LiveRDD(val info: RDDInfo) extends 
LiveEntity {
   var storageLevel: String = weakIntern(info.storageLevel.description)
   var memoryUsed = 0L
   var diskUsed = 0L
+  var storageInfo: StorageLevel = new StorageLevel()
 
 Review comment:
   Yes. we can initialize `storageInfo = info.storageLevel`. But I'm not sure 
we can get rid of `storageLevel`, as there is a public method which sets the 
value. updated the code.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to