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

    https://github.com/apache/spark/pull/19458#discussion_r146213702
  
    --- Diff: 
core/src/main/scala/org/apache/spark/storage/DiskBlockManager.scala ---
    @@ -100,7 +100,16 @@ private[spark] class DiskBlockManager(conf: SparkConf, 
deleteFilesOnStop: Boolea
     
       /** List all the blocks currently stored on disk by the disk manager. */
       def getAllBlocks(): Seq[BlockId] = {
    -    getAllFiles().map(f => BlockId(f.getName))
    +    getAllFiles().flatMap { f =>
    +      val blockId = BlockId.guess(f.getName)
    --- End diff --
    
    Do you mean we don't need to log at all?


---

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

Reply via email to