Github user mridulm commented on a diff in the pull request:
https://github.com/apache/spark/pull/7243#discussion_r34096776
--- Diff:
yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala ---
@@ -218,11 +218,12 @@ private[spark] class ApplicationMaster(
}
}
- private def sparkContextInitialized(sc: SparkContext) = {
+ private def sparkContextInitialized(sc: SparkContext, backend:
CoarseGrainedSchedulerBackend) = {
sparkContextRef.synchronized {
sparkContextRef.compareAndSet(null, sc)
sparkContextRef.notifyAll()
}
+ allocator.setScheduler(backend)
--- End diff --
Hmm, good point - I think there is some merge issue here since it is
working for us in cluster mode (hope it is not specific to client case ?).
Let me revisit the PR - apologies if this is a merge mess up !
---
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]