wankunde commented on PR #45661:
URL: https://github.com/apache/spark/pull/45661#issuecomment-2017723213

   > Before this PR, will Spark write any temp files to the final shuffle file 
directory?
   
   In most cases, spark will manage its internal files as block files, 
including `ShuffleDataBlockId`, `ShuffleIndexBlockId`, `TempShuffleBlockId` and 
some other blocks. These block files are located by `hash(block name)` and the 
full block file path will be `localDirs(hash % localDirs.length)` / `(hash / 
localDirs.length) % subDirsPerLocalDir` / filename
   
   If the block files have the same hash code, then will be in the same 
directory.


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