Slide 12
Slide 12 text
Unexpected spark caching behavior
“…The strange behavior that I'm seeing is
that spark stages corresponding to val c =
a.map(...) are happening 10 times.I would
have expected that to happen only once
because of the immediate caching on the
next line, but that's not the case.…”
Source: StackOverflow
https://stackoverflow.com/q/30835703/123695
12