Github user squito commented on the pull request:
https://github.com/apache/spark/pull/4055#issuecomment-120462928
Hi @suyanNone
I thought some more about the various options, and I also tested them out
on some other workloads I have w/ failure injections. All options seemed to
work. I find that I am slightly leaning towards option 2:
```
if (runningStages.contains(shuffleStage) &&
(shuffleStage.pendingTasks.isEmpty || shuffleStage.isAvailable)) {
```
but I can't say that I have any good reasons for favoring one or the other.
What do you think? I think we can also try to bring in more reviewers at this
point, I think we're close enough it would be good to get a dag scheduler
maintainer to take a look at this point.
---
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]