Interview practice question
Job fails randomly about once a week
Data Engineering · Spark · Experienced
A Spark job fails roughly once a week with different errors like lost executors or fetch failures, then succeeds on retry. How do you investigate?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Collect failure history and correlate with data volume, time and cluster events.
- Fetch failures often mean executors died, frequently from memory or spot reclaims.
- Check if failures align with spot instance interruptions.
- Look for skew or volume spikes on failing days.
- Fix the root cause rather than relying on retries.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.