Kimahriman commented on a change in pull request #35085:
URL: https://github.com/apache/spark/pull/35085#discussion_r787312934
##########
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:
Updated to use the `createDirWithPermission770` method finally. Also
updated the comment on the method to explain why, from what I could figure out,
a Java method can't work.
--
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]