[ 
https://issues.apache.org/jira/browse/SPARK-7831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559168#comment-14559168
 ] 

Luc Bourlier commented on SPARK-7831:
-------------------------------------

Ok. Yes it makes sense. It is not because the dispatcher died that the the jobs 
in progress should be terminated.
I think it would be good to have an option on the shutdown script, to be able 
to terminate the Mesos framework.

Also, is there already a way to reconnect a dispatcher to a running framework? 

> Mesos dispatcher doesn't deregister as a framework from Mesos when stopped
> --------------------------------------------------------------------------
>
>                 Key: SPARK-7831
>                 URL: https://issues.apache.org/jira/browse/SPARK-7831
>             Project: Spark
>          Issue Type: Bug
>          Components: Mesos
>    Affects Versions: 1.4.0
>         Environment: Spark 1.4.0-rc1, Mesos 0.2.2 (compiled from source)
>            Reporter: Luc Bourlier
>
> To run Spark on Mesos in cluster mode, a Spark Mesos dispatcher has to be 
> running.
> It is launched using {{sbin/start-mesos-dispatcher.sh}}. The Mesos dispatcher 
> registers as a framework in the Mesos cluster.
> After using {{sbin/stop-mesos-dispatcher.sh}} to stop the dispatcher, the 
> application is correctly terminated locally, but the framework is still 
> listed as {{active}} in the Mesos dashboard.
> I would expect the framework to be de-registered when the dispatcher is 
> stopped.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to