QuestionQ236

VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.

Which storage level should be used to keep as much data as possible in memory on two cluster nodes, while storing on disk any data that cannot fit in memory so it can be read when required?

Explanation

MEMORY_AND_DISK stores partitions in memory and writes only partitions that do not fit in memory to disk; those disk-resident partitions are read as needed. It does not add replica copies or require serialized in-memory storage.

Community Discussion

No comments yet. Be the first to start the discussion!