~/talk

Debugging PySpark - Pretending to make sense of JVM stack traces

Talkat PyData Amsterdam 2017 · 2017-04-07..04-09· [python]
slides:none on file

Covers concrete debugging tactics for PySpark: where to find useful output (use the spark history server or worker stderr rather than the console), how to surface the real Python error (break pipelining with cache/persist to isolate a failing transformation or use take), dynamic log-level tuning in notebooks, using accumulators for counts while warning about double‑counting up to J times, and fixes for OOMs (more partitions, increase Python memory percent in YARN, inspect jumbo records).

AI-written summary · about

  1. 0:00Debugging PySpark stack traces
  2. 3:37How PySpark works behind the scenes
  3. 7:56PySpark error messages
  4. 9:02Spark UI and YARN logs
  5. 13:39Spark logging levels
  6. 14:43Python and JVM stack traces
  7. 18:35PySpark exceptions
  8. 20:21Chained transformations debugging
  9. 21:48Lambdas and code structure
  10. 22:52Testing PySpark code
  11. 23:57Custom logging in PySpark
  12. 25:22Soft errors with accumulators
  13. 28:59Out of memory exceptions
  14. 34:06Memory leaks causes
  15. 35:50JVM exceptions meaning
  16. 36:11Spark debugging techniques
  17. 37:14Python debuggers with PySpark
  18. 37:36PySpark debugging books
~/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.