QuestionQ104

VerifiedApache Spark Architecture and Components

Which of the following most accurately describes the similarities and differences between the MEMORY_ONLY storage level and the MEMORY_AND_DISK storage level?

Explanation

MEMORY_ONLY retains as much data as possible in memory and recomputes partitions that cannot fit. MEMORY_AND_DISK also retains as much as possible in memory, but stores partitions that do not fit on disk and reads them when required. Replication across two nodes applies to storage levels with the _2 suffix.

Learn more

Community Discussion

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