~/talk

Writing your own RDD for fun and profit

Talkat JDD 2016 · 2016-10-10..10-11· [data-engineering, scala]
slides:none on file

Explains how to implement custom RDDs by coding the three required pieces: getPartitions, compute and parent dependency links, plus optional data locality and partitioner hooks; shows a simple RandomRDD and a CensorRDD built on top of HadoopRDD and run via SparkContext.runJob; demonstrates that narrow vs wide dependencies control shuffles, that compute provides the per-partition iterator, and that mutating data in compute can break later actions — examples compile and run from staged commits.

AI-written summary · about

  1. 0:00Start
  2. 0:53Recap
  3. 6:32Internals
  4. 7:21How Data Is Internally Partitioned
  5. 14:58Wider Dependency
  6. 15:30Narrow Dependency
  7. 16:01How To Evaluate Internal Data
  8. 19:11Method Count
  9. 23:18Data Locality
  10. 25:31Partitioner
  11. 32:18Compute Function
  12. 37:35Implicit Conversion
~/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.