An RDD is partitions plus a recipe — how input splits form, how lineage rebuilds lost data, and why locality matters.
A Resilient Distributed Dataset is an immutable collection split into partitions that live on different executors. It doesn't have to hold any data: internally an RDD is five things — a list of partitions, a compute function that produces one partition, a list of dependencies on parent RDDs, and optionally a partitioner (e.g. hash-partitioned by key) and preferred locations per partition (e.g. the HDFS hosts holding its block).
Everything the scheduler does is built on those five: a task is a compute call for one partition, stages come from the dependencies, and task placement comes from the preferred locations.
Reach the last step for the run summary: the key takeaways from this lesson.