Skip to main content
InterviewHubPRO
Section Overview
Q32

Question 32 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

64%
Apache Spark Big Data (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

How do you debug Spark performance bottlenecks using the Spark Web UI?

senior LevelFormsPerformance

In Simple Words:

  1. Stages Tab: Look for stages with high duration. Check the ratio between Max Task Time and Median Task Time; a large difference indicates Data Skew.
  2. Executors Tab: Inspect GC time (should be < 10% of task time) and shuffle read/write volumes.
  3. Storage Tab: Check what percentage of cached DataFrames are resident in memory vs spilled to disk.
  4. SQL Tab: Inspect physical execution plans and DAG visualizations.