MediumScenarioSpark production scenarios
You must reprocess two years of history with Spark without overwriting good recent partitions. How do you write it safely?
This answer is part of Pro
48 of 348 Data engineering answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhen would you use cache or persist in Spark, and when is it harmful?Next A Kafka consumer group shows growing lag on a few partitions only. How do you investigate?
More on Spark production scenarios
Flashcards for this topic- MediumA Spark job's last stage has one task running 40 minutes while 199 others finish in 1 minute. How do you diagnose and fix it?
- MediumYour Spark job on a 50-node cluster fails with executor lost and OOM during a groupBy. What do you check first?
- HardNightly job writes thousands of tiny Parquet files to S3 and downstream queries slow down. How do you fix it end to end?
- MediumA join between a 2 TB table and a 5 GB dimension is slow. What options do you consider?