Github user jongyoul commented on the pull request:
https://github.com/apache/spark/pull/3393#issuecomment-63904354
At launching from spark-submit with mesos master, for the first time,
resourceOffers are called, there's no task at that time because taskScheduler
didn't submit a job. Thus all offers are declined because no tasks. In
branch-1.1, d.launchTasks with empty tasks declined implicitly, but in current
master, If offers don't have any tasks, d.launchTasks are not called. Thus
unused offers from acceptedOffers are not declined. I fix that situation and
edited test case
---
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]