Github user kayousterhout commented on a diff in the pull request:
https://github.com/apache/spark/pull/13688#discussion_r67230633
--- Diff:
core/src/test/scala/org/apache/spark/scheduler/SchedulerIntegrationSuite.scala
---
@@ -518,10 +518,11 @@ class BasicSchedulerIntegrationSuite extends
SchedulerIntegrationSuite[SingleCor
// make sure the required map output is available
task.stageId match {
- case 1 => assertMapOutputAvailable(b)
- case 3 => assertMapOutputAvailable(c)
case 4 => assertMapOutputAvailable(d)
- case _ => // no shuffle map input, nothing to check
+ case _ =>
+ // we can't check for the output for the two intermediate stages,
unfortunately,
+ // b/c the stage numbering is non-deterministic, so stage number
alone doesn't tell
+ // us what to check
--- End diff --
Does it make sense to do an OR here -- check that one of the intermediate
outputs is available? (fine if you want to do this later and merge the fix for
now)
---
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]