ResultStage — Final Stage in Job

A ResultStage is the final stage in a job that applies a function on one or many partitions of the target RDD to compute the result of an action.

dagscheduler job resultstage.png
Figure 1. Job creates ResultStage as the first stage

The partitions are given as a collection of partition ids (partitions) and the function func: (TaskContext, Iterator[_]) ⇒ _.

dagscheduler resultstage partitions.png
Figure 2. ResultStage and partitions
Tip
Read about TaskContext in TaskContext.

removeActiveJob Method

Caution
FIXME

results matching ""

    No results matching ""