[
https://issues.apache.org/jira/browse/SPARK-23943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
paul mackles updated SPARK-23943:
---------------------------------
Description:
Add a more robust health-check to MesosRestServer so that anyone who runs
MesosClusterDispatcher as a marathon app can use it to check the health of the
server:
[http://mesosphere.github.io/marathon/docs/health-checks.html]
Specifically, this check verifies that the MesosSchedulerDriver is still
running as we have seen certain cases where it dies (rather quietly) and the
only way to revive it is a restart. With this health check, marathon will
restart the dispatcher if the MesosSchedulerDriver stops running.
The health check lives at the url "/health" and returns a 204 when the server
is healthy and a 503 when it is not (e.g. the MesosSchedulerDriver stopped
running).
> Add more specific health check to MesosRestServer
> -------------------------------------------------
>
> Key: SPARK-23943
> URL: https://issues.apache.org/jira/browse/SPARK-23943
> Project: Spark
> Issue Type: Improvement
> Components: Deploy, Mesos
> Affects Versions: 2.2.1, 2.3.0
> Environment:
>
> Reporter: paul mackles
> Priority: Minor
> Fix For: 2.4.0
>
>
> Add a more robust health-check to MesosRestServer so that anyone who runs
> MesosClusterDispatcher as a marathon app can use it to check the health of
> the server:
> [http://mesosphere.github.io/marathon/docs/health-checks.html]
> Specifically, this check verifies that the MesosSchedulerDriver is still
> running as we have seen certain cases where it dies (rather quietly) and the
> only way to revive it is a restart. With this health check, marathon will
> restart the dispatcher if the MesosSchedulerDriver stops running.
> The health check lives at the url "/health" and returns a 204 when the server
> is healthy and a 503 when it is not (e.g. the MesosSchedulerDriver stopped
> running).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]