As per Spark
"Shuffle Write" is actually meant as the sum of all written serialized data on all executors before transmitting (normally at the end of a stage)
My question is Where does the shuffle write happens ? Does in write the whole data to be shuffled on local disk alone ? or Does it write the whole data to be shuffled on RAM memory alone ? or Based on availability of RAM , Does it write some portion of data to be shuffled in Disk and some portion to RAM?
Please explain