QuestionQ256

VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.

Which cluster configuration is most likely to encounter delays caused by garbage collection of a large DataFrame?

Question Image

Note: each configuration provides roughly the same compute capacity, using 100 GB of RAM and 200 cores.

Explanation

A single 100 GB executor heap is more prone to costly, disruptive garbage-collection pauses than several smaller executor heaps. With only one executor, such a pause delays all executor-side processing, whereas multiple smaller executors limit the heap size and isolate a pause to one executor.

Community Discussion

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