What is the difference between spark's shuffle read and shuffle write?

Viewed 15008

I need to run a spark program which has huge amount of data. I am trying to optimize the spark program and working through spark UI and trying to reduce the Shuffle part.

There are couple of components mentioned, shuffle read and shuffle write. I can understand the difference based their terminology, but I would like to understand the exact meaning of them and which one of spark's shuffle read/write reduces the performance?

I have searched over the internet, but could not find solid in depth details about them, so wanted to see if any one can explain them here.

2 Answers
Related