symious commented on a change in pull request #35569:
URL: https://github.com/apache/spark/pull/35569#discussion_r812540029
##########
File path:
core/src/main/scala/org/apache/spark/internal/io/HadoopMapReduceCommitProtocol.scala
##########
@@ -157,6 +159,7 @@ class HadoopMapReduceCommitProtocol(
// Include a UUID here to prevent file collisions for one task writing to
different dirs.
// In principle we could include hash(absoluteDir) instead but this is
simpler.
val tmpOutputPath = new Path(stagingDir, UUID.randomUUID().toString() +
"-" + filename).toString
+ stagingDirExists = true
Review comment:
Updated the checking in `commitJob`, but since result can't be retrieved
in `abortJob`, so check before delete is implemented in `abortJob`.
@cloud-fan Could you help to check?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]