GitHub user philipphoffmann opened a pull request:
https://github.com/apache/spark/pull/14936
[SPARK-7877][MESOS] Allow configuration of framework timeout
## What changes were proposed in this pull request?
This commit introduces a setting for configuring the Mesos framework
failover timeout (`spark.mesos.failoverTimeout`). The default timeout is 10
seconds.
Before, the timeout was set to 0 (which causes all tasks to be killed by
mesos) or Integer.MAX which kindof leaves them hanging forever, depending on
how the driver was launched.
## How was this patch tested?
unit test
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/philipphoffmann/spark mesos-failover-timeout
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14936.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 #14936
----
commit c15f207c3b752dd25ce0e4c5ec1fe83fe7734951
Author: Philipp Hoffmann <[email protected]>
Date: 2016-09-02T11:53:41Z
[SPARK-7877][MESOS] Allow configuration of framework timeout
This commit introduces a setting for configuring the Mesos framework
failover timeout (`spark.mesos.failoverTimeout`). The default timeout is
10 seconds.
----
---
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]