Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.5 KB

spark-service-contextcleaner.adoc

File metadata and controls

31 lines (19 loc) · 1.5 KB

ContextCleaner

It does cleanup of shuffles, RDDs and broadcasts.

Caution
FIXME What does the above sentence really mean?

It uses a daemon Spark Context Cleaner thread that cleans RDD, shuffle, and broadcast states (using keepCleaning method).

Caution
FIXME Review keepCleaning

ShuffleDependencies register themselves for cleanup using ContextCleaner.registerShuffleForCleanup method.

ContextCleaner uses a Spark context.

registerRDDForCleanup

Caution
FIXME

registerAccumulatorForCleanup

Caution
FIXME

Settings