~/talk

Optimize Spark Jobs Using Its UI

TalkinFrenchat Devoxx France 2023 · 2023-04-12..04-14· [data-engineering, observability]
links:none on file
slides:none on file

Shows how to debug and optimize Apache Spark jobs using the Spark UI, History Server event logs and the Spark 3 JSON API when source code is unavailable. Demonstrates concrete checks (executor GC/memory, SQL tab physical plan, stage/task skew and task durations), reproduces an out-of-memory case where a single task processes most data, and explains using stage IDs and dataframe field tags to confirm skew and build a reconstruction graph. Recommends avoiding blind repartition and instead using a bucketing key or Spark adaptive execution to fix skew.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46History Server
  3. 9:35Spark UI overview
  4. 18:26Failed stages analysis
  5. 24:10Optimization via Spark History API
  6. 29:04Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.