incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Mahler" <>
Subject Re: Review Request: Implemented a killtree utility (inspired by the script in mesos).
Date Tue, 18 Jun 2013 04:42:30 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated June 18, 2013, 4:42 a.m.)

Review request for mesos, Benjamin Hindman and Vinod Kone.


Added output stream argument for debugging.
Punted on adding a mesos binary for killtree.


For how killtree will be used, see the script in mesos.

This version is actually more robust than, as it first stops the entire tree,
_then_ issues the signal.
Currently, stops, signals, and continues each process in isolation.

Diffs (updated)

  3rdparty/libprocess/3rdparty/stout/ 2b7ee9c099a28dc5e482d7609e6307f2b6398e8b

  3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 1b3fb47d7567b5467fef2a2bb15d5c4a2ea42aa5

  3rdparty/libprocess/3rdparty/stout/include/stout/os/killtree.hpp PRE-CREATION 
  3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp 73b2336e93d6e5aac97e2c18e8e36c258c56a420



Added a test, however this test can be _significantly_ cleaned up were we to create an abstraction
for generating process trees!


Ben Mahler

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