Github user cloud-fan commented on the pull request:

    https://github.com/apache/spark/pull/5416#issuecomment-90863451
  
    The only place that use `parents` is 
[here](https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L756-759).
 I agree a stage generally-speaking have parents and `parents` belongs to 
`Stage` logically, but when we need parent stages, we always re-calculate it. 
The code I mentioned before is the only place we use the "cached" parent 
stages. Should we put `getParentStages` and some related methods into `Stage` 
class? @JoshRosen 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to