-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21379/
-----------------------------------------------------------

(Updated May 22, 2014, 3:37 p.m.)


Review request for mesos and Ben Mahler.


Changes
-------

First phase: Mesos-slave support for "node drain"                               
                                                                              
This phase handles the shutdown of the slave, triggered by SIGUSR1 signal:      
* implement a signal handler which is invoked when SIGUSR1 signal is issued
* the signal handler will call the 'shutdown' method from the Slave class,      
which  shuts down all the frameworks and executors that run on the slave.  
 * create special methods for handling shutdown messages received from the 
master 
because the existing ones could no longer have double role (handlers for 
shutdown
messages and internal methods that could be called within the class). 
                                                                                
                                                                                
                                                             
In the next phase, the slave will send an unregistration request to the master  
in order to overcome the lag of the health check timer (75 sec).


Bugs: MESOS-544
    https://issues.apache.org/jira/browse/MESOS-544


Repository: mesos-git


Description
-------

First phase: Mesos-slave support for "node drain" 
                                                                                
                
This phase handles the shutdown of the slave, triggered by SIGUSR1 signal:
* implement a signal handler which is invoked when SIGUSR1 signal is issued
* the signal handler will call the 'shutdown' method from the Slave class, 
which  shuts down all the frameworks and executors that run on the slave.

In the next phase, the slave will send an unregistration request to the master 
in order to overcome the lag of the health check timer (75 sec).  


Diffs (updated)
-----

  src/slave/slave.hpp 769bd00f1464c9935416f044fd834e2187d83a6e 
  src/slave/slave.cpp a4b9570c0b4f1b56180888ef975add4c8c3cbee7 

Diff: https://reviews.apache.org/r/21379/diff/


Testing
-------


Thanks,

Alexandra Sava

Reply via email to