Github user suyanNone commented on the pull request:
https://github.com/apache/spark/pull/12655#issuecomment-215329471
as I know, duplicate stage occurs:
stage 2 and stage 3 all depends on stage 1
stage 4 depends on stage 2 and stage 3
So, if we get getAncestorShuffleDependencies(stage 4), it will
depth-traverse stage 2-> stage 1, then traverse stage 3 -> stage 1... due to we
use stack, we can't de-duplicate the same stage in this.
if we traverse stage 4 with de-duplication successful, it will in
`shuffleIdToMapStage`, which can tell other rdd which stage had traversed.
right?
---
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]