Improved comment
This commit is contained in:
parent
94087c463b
commit
205566e56e
|
@ -243,10 +243,9 @@ class DAGScheduler(
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a Stage for the given RDD, either as a shuffle map stage (for a ShuffleDependency) or
|
* Create a Stage -- either directly for use as a result stage, or as part of the (re)-creation
|
||||||
* as a result stage for the final RDD used directly in an action. The stage will also be
|
* of a shuffle map stage in newOrUsedStage. The stage will be associated with the provided
|
||||||
* associated with the provided jobId.. Shuffle map stages, whose shuffleId may have previously
|
* jobId. Production of shuffle map stages should always use newOrUsedStage, not newStage directly.
|
||||||
* been registered in the MapOutputTracker, should be (re)-created using newOrUsedStage.
|
|
||||||
*/
|
*/
|
||||||
private def newStage(
|
private def newStage(
|
||||||
rdd: RDD[_],
|
rdd: RDD[_],
|
||||||
|
|
Loading…
Reference in a new issue