Kimahriman commented on a change in pull request #35085:
URL: https://github.com/apache/spark/pull/35085#discussion_r785446501



##########
File path: 
core/src/main/java/org/apache/spark/shuffle/sort/io/LocalDiskShuffleMapOutputWriter.java
##########
@@ -88,6 +88,8 @@ public ShufflePartitionWriter getPartitionWriter(int 
reducePartitionId) throws I
     lastPartitionId = reducePartitionId;
     if (outputTempFile == null) {
       outputTempFile = Utils.tempFileWith(outputFile);
+      // SPARK-37618: Create the file as group writable so it can be deleted 
by the shuffle service
+      Utils.createFileAsGroupWritable(outputTempFile);

Review comment:
       TIL. Will update once figuring out the history behind 
`createDirWithPermission770`




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

Reply via email to