Github user sarutak commented on the pull request:

    https://github.com/apache/spark/pull/1580#issuecomment-50215042
  
    Parent directories named spark-local-* were deleted before shuffle, you can 
see the stack trace like this.
    
    
            java.io.FileOutputStream.open(Native Method)
            java.io.FileOutputStream.<init>(FileOutputStream.java:221)
            
org.apache.spark.storage.DiskBlockObjectWriter.open(BlockObjectWriter.scala:116)
            
org.apache.spark.storage.DiskBlockObjectWriter.write(BlockObjectWriter.scala:177)
            
org.apache.spark.shuffle.hash.HashShuffleWriter$$anonfun$write$1.apply(HashShuffleWriter.scala:59)
            
org.apache.spark.shuffle.hash.HashShuffleWriter$$anonfun$write$1.apply(HashShuffleWriter.scala:57)
            scala.collection.Iterator$class.foreach(Iterator.scala:727)
            
org.apache.spark.util.collection.AppendOnlyMap$$anon$1.foreach(AppendOnlyMap.scala:159)
            
org.apache.spark.shuffle.hash.HashShuffleWriter.write(HashShuffleWriter.scala:57)
            
org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:147)
            
org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:97)
            org.apache.spark.scheduler.Task.run(Task.scala:51)
            
org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:189)
            
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
            
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            java.lang.Thread.run(Thread.java:745)
    
    
    As you say, getFile creates parent directories but I think this path 
doesn't call getFile.


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

Reply via email to