What happens if an RDD can't fit into memory in Spark? [duplicate]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 05:51:00
Sachin Gaikwad

From Apache Spark FAQ's:

Spark's operators spill data to disk if it does not fit in memory, allowing it to run well on any sized data. Likewise, cached datasets that do not fit in memory are either spilled to disk or recomputed on the fly when needed, as determined by the RDD's storage level.

Refer below link to know more about storage levels and how to choose appropriate one between these levels: programming-guide.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!