~/talk

Improving interactive querying experience on Spark SQL

Talkat ApacheCon@Home 2021 · 2021-09-21..09-23· [data-engineering]
links:none on file
links:none on file
slides:none on file

Pinterest runs over 700 PB on S3 and ~150,000 daily compute jobs, so interactive Spark SQL needs low latency and isolation. The solution uses Apache Livy in interactive mode, a DB-API Python client (BigPy) to submit statements, and a local pool of lightweight Spark sessions to run DDLs (avoiding ~2 minute YARN allocation). Syntax checking uses Spark’s parser to return errors <2s. Added: Dr. Elephant error classifier, OpenTSDB-backed memory metrics, per-instance load balancing and JSON event logs for debugging.

AI-written summary · about

  1. 0:00Intro
  2. 1:54Agenda
  3. 2:41Data Scale at Pinterest
  4. 5:48Scheduled vs Interactive Querying
  5. 7:53Interactive Querying with Spark SQL
  6. 9:52Design Choices
  7. 13:06Seamless query submission
  8. 13:56Faster metadata queries
  9. 16:07Faster syntax checking
  10. 17:00Error handling recommendations
  11. 18:55Resource Utilization Visibility
  12. 19:58Livy Operational Improvements
~/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.