dongjoon-hyun opened a new pull request, #44127:
URL: https://github.com/apache/spark/pull/44127

   ### What changes were proposed in this pull request?
   
   This PR aims to improve `FileSystemPersistenceEngine` to allow non-exist 
parents
   
   ### Why are the changes needed?
   
   To prevent the following error,
   ```
   java.io.IOException: No such file or directory
     at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method)
     at java.base/java.io.File.createNewFile(File.java:1043)
     at 
org.apache.spark.deploy.master.FileSystemPersistenceEngine.serializeIntoFile(FileSystemPersistenceEngine.scala:62)
     at 
org.apache.spark.deploy.master.FileSystemPersistenceEngine.persist(FileSystemPersistenceEngine.scala:45)
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the CIs with the newly added test case.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.
   


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