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

    https://github.com/apache/spark/pull/2002#discussion_r16398508
  
    --- Diff: 
core/src/main/scala/org/apache/spark/storage/DiskBlockManager.scala ---
    @@ -131,10 +132,9 @@ private[spark] class 
DiskBlockManager(shuffleBlockManager: ShuffleBlockManager,
         (blockId, getFile(blockId))
       }
     
    -  private def createLocalDirs(): Array[File] = {
    -    logDebug(s"Creating local directories at root dirs '$rootDirs'")
    +  private def createLocalDirs(conf: SparkConf): Array[File] = {
         val dateFormat = new SimpleDateFormat("yyyyMMddHHmmss")
    -    rootDirs.split(",").flatMap { rootDir =>
    +    Utils.getOrCreateLocalRootDirs(conf).flatMap { rootDir =>
    --- End diff --
    
    I think there is some logic below that also tries to create parent dirs - 
would it make sense to remove that now since you assume all directories given 
here exist?


---
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