Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/5494#discussion_r28256591
--- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
---
@@ -818,13 +818,12 @@ class DAGScheduler(
}
}
- val properties = if (jobIdToActiveJob.contains(jobId)) {
- jobIdToActiveJob(stage.jobId).properties
- } else {
- // this stage will be assigned to "default" pool
- null
+ val activeJob = jobIdToActiveJob.get(stage.jobId).getOrElse(null)
--- End diff --
Are you suggesting that in some cases `jobId != stage.jobId` and that's the
error?
Then just `val properties =
jobIdToActiveJob.get(stage.jobId).map(_.properties).getOrElse(null)`?
---
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]