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

    https://github.com/apache/spark/pull/17295#discussion_r106779004
  
    --- Diff: 
core/src/main/scala/org/apache/spark/storage/DiskBlockManager.scala ---
    @@ -34,6 +34,8 @@ import org.apache.spark.util.{ShutdownHookManager, Utils}
      */
     private[spark] class DiskBlockManager(conf: SparkConf, deleteFilesOnStop: 
Boolean) extends Logging {
     
    +  private val METADATA_FILE_SUFFIX = ".meta"
    --- End diff --
    
    Assuming I am not missing something, shuffle does not use (require) block 
length from meta file.
    If yes, for all others, why not simply keep the block size in memory ? On 
executor failure, the on disk block is lost anyway, and we already maintain 
block info for each block in executor.



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to