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

    https://github.com/apache/spark/pull/21257#discussion_r187959698
  
    --- Diff: 
core/src/main/scala/org/apache/spark/internal/io/HadoopMapReduceCommitProtocol.scala
 ---
    @@ -163,6 +169,12 @@ class HadoopMapReduceCommitProtocol(
       }
     
       override def commitJob(jobContext: JobContext, taskCommits: 
Seq[TaskCommitMessage]): Unit = {
    +    // first delete the should delete special file
    +    val committerFs = 
jobContext.getWorkingDirectory.getFileSystem(jobContext.getConfiguration)
    --- End diff --
    
    I change my code. 
    I now record every `FileSystem` will delete the path with a map structure. 
And Don't assume that they will use the same `FileSystem`.


---

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

Reply via email to