GitHub user skonto opened a pull request:
https://github.com/apache/spark/pull/19374
[SPARK-22145][MESOS] fix supervise with checkpointing on mesos
## What changes were proposed in this pull request?
- Fixes the issue with frameworkId being recovered by checkpointed data.
- Keeps submission driver id is the only index for all data structures in
the dispatcher.
Allocates a different task id per driver retry to satisfy the mesos
requirements.
Check the relevant ticket.
## How was this patch tested?
Manually tested this. Launched a streaming job with checkpointing to hdfs,
made the driver fail several times and observed behavior:









You can merge this pull request into a Git repository by running:
$ git pull https://github.com/skonto/spark fix_retry
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19374.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #19374
----
commit 0e5e5e0ef0d2ba030af71132955c63aadf4ca970
Author: Stavros Kontopoulos <[email protected]>
Date: 2017-09-27T22:04:38Z
fix supervise with checkpointing
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]