EnricoMi opened a new pull request, #48960:
URL: https://github.com/apache/spark/pull/48960

   ### What changes were proposed in this pull request?
   This adds option `spark.storage.decommission.fallbackStorage.subPaths` that 
allows to control the maximum number of directories created by the 
`FallbackStorage` per shuffle.
   
   ### Why are the changes needed?
   The current implementation creates a directory foreach shuffle file that is 
being copied. For instance, a 100,000 partition shuffle creates 100,000 
directories, each containing a single file. While S3 is very happy about this 
strategy, other filesystem might unnecessarily struggle. Some control about the 
upper limit of directories is useful.
   
   ### Does this PR introduce _any_ user-facing change?
   Adds option `spark.storage.decommission.fallbackStorage.subPaths`.
   
   ### How was this patch tested?
   Added unit tests.
   
   ### 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