Once we persist RDD in memory, for how long it will be there in memory? Can we access the same if we come out of spark shell ?
0
votes
Best way is to query it and find out.
- Raghuveer
oh!! gr8 answer
- Abhinav Kumar
RDD's are stored as deserialized java objects in spark executor JVM's. They continue to exist as long as the JVM's are active and cease to exist (i.e garbage collected) when exit from spark shell.
- sdinesh94
gr8 answer for gr8 question
- Raghuveer
@ Raghuveer frm whr did u get such an awesome answer yaar lol........everything u can try out yourself then y r u thr in stackoverflow....... :D
- Abhinav Kumar