mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandra Sava" <alexandrasav...@gmail.com>
Subject Re: Review Request 21379: First phase: Mesos-slave support for "node drain"
Date Sun, 18 May 2014 22:07:19 GMT

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

(Updated May 18, 2014, 10:07 p.m.)


Review request for mesos and Ben Mahler.


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/messages/messages.proto 6f6e570b1018d8c54d4b8d811470086832792ec4 
  src/slave/slave.hpp 29d2a1607a2b3c4443ea14d1cc2b61a065df3cad 
  src/slave/slave.cpp 4a8adf0efdd9a230a1f91d8d944fc6145a26b7c4 

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


Testing
-------


Thanks,

Alexandra Sava


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message