You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Ian Downes <ia...@gmail.com> on 2014/03/15 01:27:04 UTC
Review Request 19248: Add support to move the slave into separate cgroups
for monitoring
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
Review request for mesos.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs
-----
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/main.cpp 8c2b70cb864b268ebd7fba89b02a571602b821bb
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38210
-----------------------------------------------------------
Bad patch!
Reviews applied: [19248]
Failed command: make -j3 check GTEST_FILTER='' >/dev/null
Error:
ev.c:1531:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' [enabled by default]
ev.c: In function 'evpipe_write':
ev.c:2160:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2172:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c: In function 'pipecb':
ev.c:2193:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2207:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
In file included from /usr/include/c++/4.6/ext/hash_set:61:0,
from src/glog/stl_logging.h:54,
from src/stl_logging_unittest.cc:34:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
In file included from src/utilities.h:73:0,
from src/googletest.h:38,
from src/stl_logging_unittest.cc:48:
src/base/mutex.h:137:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
/usr/include/features.h:166:0: note: this is the location of the previous definition
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
zip_safe flag not set; analyzing archive contents...
slave/slave.cpp: In member function 'virtual void mesos::internal::slave::Slave::initialize()':
slave/slave.cpp:182:34: error: 'threads' is not a member of 'proc'
make[2]: *** [slave/libmesos_no_3rdparty_la-slave.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1
- Mesos ReviewBot
On March 21, 2014, 8:56 p.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 21, 2014, 8:56 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/3rdparty/stout/Makefile.am df149ddc8669b0c541361922631f4f3958bd096d
> 3rdparty/libprocess/3rdparty/stout/include/stout/cache.hpp 67b88bc5959e2d8c2cee5c0a218229c293afcf60
> 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 901e5550c82c12934a6b9c3154f030c677e41a38
> 3rdparty/libprocess/3rdparty/stout/include/stout/os/permissions.hpp ba8463cc152701d6eb1deba8d1561688ecf5b7b5
> 3rdparty/libprocess/configure.ac 2e0b72c223955a21573c0d2937420635c128b4d8
> 3rdparty/libprocess/m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
> bin/mesos-slave-flags.sh.in 8c936aa06e994a87a8b09b31c907868bf9be38c7
> configure.ac 5404dc29a53368332b386a410226652ff7425fc7
> docs/getting-started.md d7ced76125c6aba0d7e1a0f4ca8165652b17af0d
> docs/powered-by-mesos.md aee232eab7508f6aa948128531a41db9e7e6e3d2
> m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
> src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
> src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 668647fdfc0e203fcde59263256659ba14e29960
> src/linux/cgroups.hpp 6056e3ae59ed813d75b1bb46b276872530155ec7
> src/linux/cgroups.cpp eff15af417f3827b4a1f73770b98dc9fccbc397e
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/master/detector.cpp 8b10061de12a35ad6624db594dc4ec36502b2420
> src/master/flags.hpp 024f86d93824a20ce42c28b8264576f1cb715d0e
> src/master/http.cpp 72d8e91013cd6a9c52a6d1ffdf517a52c4567bb7
> src/master/main.cpp f12f20a1eabd163c4f35056bf01f28f3edd408a9
> src/master/master.hpp a37a2a2fa3713b8251eb318dfb45e0793cb344ff
> src/master/master.cpp 3b28f72be2016997e30649d2b12ed0e8f1a57dd5
> src/master/registrar.hpp 98bfa1e83b7e6d28e011444a665155e31922446c
> src/master/registrar.cpp cbb67bd17402692d3bb81fe58baea952897c56d1
> src/slave/containerizer/containerizer.cpp 344872a6485c5b0c2c68ddbe0190e52e99cc0b0c
> src/slave/containerizer/isolators/cgroups/cpushare.cpp 11665dbe88e3920fd9d8a2259987611d49e85462
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp d8d3e0fa54972201d72b2650ec0ba922a4912d54
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/environment.cpp feeca042265eede40e87db3ee5ab89be04509a90
> src/tests/registrar_tests.cpp 41836aeaf94e1b21e040b9e8ecf71e0b5a351f8e
> src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
> On March 27, 2014, 12:10 a.m., Vinod Kone wrote:
> > src/slave/slave.cpp, lines 135-136
> > <https://reviews.apache.org/r/19248/diff/6/?file=537907#file537907line135>
> >
> > Shouldn't we be only doing this if cgroups isolation is being used?
They are independent choices.
> On March 27, 2014, 12:10 a.m., Vinod Kone wrote:
> > src/tests/cluster.hpp, lines 516-518
> > <https://reviews.apache.org/r/19248/diff/6/?file=537910#file537910line516>
> >
> > Why is non-existence a failure?
Because if the slave_subsystems flag is set it should've been created by the slave.
> On March 27, 2014, 12:10 a.m., Vinod Kone wrote:
> > src/tests/cgroups_tests.cpp, lines 149-157
> > <https://reviews.apache.org/r/19248/diff/6/?file=537909#file537909line149>
> >
> > Why do you need this considering this is already being done in TearDown()?
To clean up if the tests are killed partway through, before TearDown can run.
- Ian
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38680
-----------------------------------------------------------
On March 27, 2014, 1:35 a.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 27, 2014, 1:35 a.m.)
>
>
> Review request for mesos, Ben Mahler and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
> src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
> src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
> src/tests/mesos.cpp 96adeac27b0de691e0f30530f4bb4da4d3d0f842
> src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
> src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
> make check # Linux, as root and non-root
> make check # OSX, as non-root only, see MESOS-812
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38680
-----------------------------------------------------------
src/slave/slave.cpp
<https://reviews.apache.org/r/19248/#comment70952>
Shouldn't we be only doing this if cgroups isolation is being used?
src/slave/slave.cpp
<https://reviews.apache.org/r/19248/#comment70953>
s/own/its own/ ?
src/slave/slave.cpp
<https://reviews.apache.org/r/19248/#comment70957>
print the cgroup.
src/slave/slave.cpp
<https://reviews.apache.org/r/19248/#comment70958>
print the cgroup.
src/slave/slave.cpp
<https://reviews.apache.org/r/19248/#comment70960>
kill new line.
src/slave/slave.cpp
<https://reviews.apache.org/r/19248/#comment70959>
print cgroup.
src/slave/slave.cpp
<https://reviews.apache.org/r/19248/#comment70963>
kill new line.
src/slave/slave.cpp
<https://reviews.apache.org/r/19248/#comment70962>
print cgroup.
src/tests/cgroups_tests.cpp
<https://reviews.apache.org/r/19248/#comment70970>
Why do you need this considering this is already being done in TearDown()?
src/tests/cluster.hpp
<https://reviews.apache.org/r/19248/#comment70976>
s/Remove/Move/
src/tests/cluster.hpp
<https://reviews.apache.org/r/19248/#comment70977>
s/flags/flag/
src/tests/cluster.hpp
<https://reviews.apache.org/r/19248/#comment70978>
kill new line.
src/tests/cluster.hpp
<https://reviews.apache.org/r/19248/#comment70979>
kill new line.
src/tests/cluster.hpp
<https://reviews.apache.org/r/19248/#comment70980>
Why is non-existence a failure?
src/tests/cluster.hpp
<https://reviews.apache.org/r/19248/#comment70981>
print the cgroup.
- Vinod Kone
On March 26, 2014, 11:51 p.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 26, 2014, 11:51 p.m.)
>
>
> Review request for mesos, Ben Mahler and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
> src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
> src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
> src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
> src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 27, 2014, 3:37 a.m.)
Review request for mesos, Ben Mahler and Vinod Kone.
Changes
-------
Addressed Vinod's latest comments.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs (updated)
-----
src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
src/tests/mesos.cpp 96adeac27b0de691e0f30530f4bb4da4d3d0f842
src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
make check # Linux, as root and non-root
make check # OSX, as non-root only, see MESOS-812
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38697
-----------------------------------------------------------
Patch looks great!
Reviews applied: [19699, 19361, 19700, 19248]
All tests passed.
- Mesos ReviewBot
On March 27, 2014, 1:35 a.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 27, 2014, 1:35 a.m.)
>
>
> Review request for mesos, Ben Mahler and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
> src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
> src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
> src/tests/mesos.cpp 96adeac27b0de691e0f30530f4bb4da4d3d0f842
> src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
> src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
> make check # Linux, as root and non-root
> make check # OSX, as non-root only, see MESOS-812
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38691
-----------------------------------------------------------
Bad patch!
Reviews applied: [19248]
Failed command: make -j3 check GTEST_FILTER='' >/dev/null
Error:
ev.c:1531:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' [enabled by default]
ev.c: In function 'evpipe_write':
ev.c:2160:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2172:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c: In function 'pipecb':
ev.c:2193:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2207:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
In file included from /usr/include/c++/4.6/ext/hash_set:61:0,
from src/glog/stl_logging.h:54,
from src/stl_logging_unittest.cc:34:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
In file included from src/utilities.h:73:0,
from src/googletest.h:38,
from src/stl_logging_unittest.cc:48:
src/base/mutex.h:137:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
/usr/include/features.h:166:0: note: this is the location of the previous definition
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
zip_safe flag not set; analyzing archive contents...
slave/slave.cpp: In member function 'virtual void mesos::internal::slave::Slave::initialize()':
slave/slave.cpp:168:34: error: 'threads' is not a member of 'cgroups'
slave/slave.cpp:187:29: error: 'assignAllThreads' is not a member of 'cgroups'
make[2]: *** [slave/libmesos_no_3rdparty_la-slave.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1
- Mesos ReviewBot
On March 27, 2014, 1:35 a.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 27, 2014, 1:35 a.m.)
>
>
> Review request for mesos, Ben Mahler and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
> src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
> src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
> src/tests/mesos.cpp 96adeac27b0de691e0f30530f4bb4da4d3d0f842
> src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
> src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
> make check # Linux, as root and non-root
> make check # OSX, as non-root only, see MESOS-812
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Vinod Kone <vi...@gmail.com>.
> On March 27, 2014, 4:30 a.m., Vinod Kone wrote:
> > src/local/local.cpp, lines 158-162
> > <https://reviews.apache.org/r/19248/diff/8/?file=538194#file538194line158>
> >
> > Do we need this now that the flag is optional?
nm. i fixed this when i committed this.
- Vinod
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38696
-----------------------------------------------------------
On March 27, 2014, 1:35 a.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 27, 2014, 1:35 a.m.)
>
>
> Review request for mesos, Ben Mahler and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
> src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
> src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
> src/tests/mesos.cpp 96adeac27b0de691e0f30530f4bb4da4d3d0f842
> src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
> src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
> make check # Linux, as root and non-root
> make check # OSX, as non-root only, see MESOS-812
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38696
-----------------------------------------------------------
Ship it!
src/local/local.cpp
<https://reviews.apache.org/r/19248/#comment70993>
Do we need this now that the flag is optional?
- Vinod Kone
On March 27, 2014, 1:35 a.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 27, 2014, 1:35 a.m.)
>
>
> Review request for mesos, Ben Mahler and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
> src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
> src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
> src/tests/mesos.cpp 96adeac27b0de691e0f30530f4bb4da4d3d0f842
> src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
> src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
> make check # Linux, as root and non-root
> make check # OSX, as non-root only, see MESOS-812
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 27, 2014, 1:35 a.m.)
Review request for mesos, Ben Mahler and Vinod Kone.
Changes
-------
Revert slave_subsystems to be optional.
Fix compilation on OSX and for non-root.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs (updated)
-----
src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
src/tests/mesos.cpp 96adeac27b0de691e0f30530f4bb4da4d3d0f842
src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
Diff: https://reviews.apache.org/r/19248/diff/
Testing (updated)
-------
make check # Linux, as root and non-root
make check # OSX, as non-root only, see MESOS-812
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38685
-----------------------------------------------------------
Bad patch!
Reviews applied: [19699, 19361, 19700, 19248]
Failed command: make check
Error:
Making check in .
make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot'
Making check in 3rdparty
make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
make check-recursive
make[2]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
Making check in libprocess
make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
Making check in 3rdparty
make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make check-recursive
make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
Making check in stout
make[6]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty/stout'
make[6]: Nothing to be done for `check'.
make[6]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty/stout'
make[6]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make libgmock.la stout-tests
make[7]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[7]: `libgmock.la' is up to date.
make[7]: `stout-tests' is up to date.
make[7]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make check-local
make[7]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
./stout-tests
[==========] Running 117 tests from 24 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from Stout
[ RUN ] Stout.Bytes
[ OK ] Stout.Bytes (0 ms)
[ RUN ] Stout.Set
[ OK ] Stout.Set (0 ms)
[ RUN ] Stout.Some
[ OK ] Stout.Some (0 ms)
[----------] 3 tests from Stout (0 ms total)
[----------] 4 tests from Cache
[ RUN ] Cache.Insert
[ OK ] Cache.Insert (0 ms)
[ RUN ] Cache.Update
[ OK ] Cache.Update (0 ms)
[ RUN ] Cache.Erase
[ OK ] Cache.Erase (0 ms)
[ RUN ] Cache.LRUEviction
[ OK ] Cache.LRUEviction (0 ms)
[----------] 4 tests from Cache (0 ms total)
[----------] 4 tests from DurationTest
[ RUN ] DurationTest.Comparison
[ OK ] DurationTest.Comparison (0 ms)
[ RUN ] DurationTest.ParseAndTry
[ OK ] DurationTest.ParseAndTry (45 ms)
[ RUN ] DurationTest.Arithmetic
[ OK ] DurationTest.Arithmetic (0 ms)
[ RUN ] DurationTest.OutputFormat
[ OK ] DurationTest.OutputFormat (0 ms)
[----------] 4 tests from DurationTest (45 ms total)
[----------] 1 test from ErrorTest
[ RUN ] ErrorTest.Test
[ OK ] ErrorTest.Test (0 ms)
[----------] 1 test from ErrorTest (0 ms total)
[----------] 12 tests from FlagsTest
[ RUN ] FlagsTest.Load
[ OK ] FlagsTest.Load (0 ms)
[ RUN ] FlagsTest.Add
[ OK ] FlagsTest.Add (0 ms)
[ RUN ] FlagsTest.Flags
[ OK ] FlagsTest.Flags (0 ms)
[ RUN ] FlagsTest.LoadFromEnvironment
[ OK ] FlagsTest.LoadFromEnvironment (0 ms)
[ RUN ] FlagsTest.LoadFromCommandLine
[ OK ] FlagsTest.LoadFromCommandLine (0 ms)
[ RUN ] FlagsTest.LoadFromCommandLineWithNonFlags
[ OK ] FlagsTest.LoadFromCommandLineWithNonFlags (0 ms)
[ RUN ] FlagsTest.Stringification
[ OK ] FlagsTest.Stringification (0 ms)
[ RUN ] FlagsTest.DuplicatesFromEnvironment
[ OK ] FlagsTest.DuplicatesFromEnvironment (0 ms)
[ RUN ] FlagsTest.DuplicatesFromCommandLine
[ OK ] FlagsTest.DuplicatesFromCommandLine (0 ms)
[ RUN ] FlagsTest.Errors
[ OK ] FlagsTest.Errors (0 ms)
[ RUN ] FlagsTest.Usage
[ OK ] FlagsTest.Usage (1 ms)
[ RUN ] FlagsTest.Duration
[ OK ] FlagsTest.Duration (0 ms)
[----------] 12 tests from FlagsTest (1 ms total)
[----------] 1 test from GzipTest
[ RUN ] GzipTest.CompressDecompressString
[ OK ] GzipTest.CompressDecompressString (94 ms)
[----------] 1 test from GzipTest (94 ms total)
[----------] 2 tests from HashMapTest
[ RUN ] HashMapTest.Insert
[ OK ] HashMapTest.Insert (0 ms)
[ RUN ] HashMapTest.Contains
[ OK ] HashMapTest.Contains (0 ms)
[----------] 2 tests from HashMapTest (0 ms total)
[----------] 2 tests from HashsetTest
[ RUN ] HashsetTest.Insert
[ OK ] HashsetTest.Insert (0 ms)
[ RUN ] HashsetTest.Union
[ OK ] HashsetTest.Union (0 ms)
[----------] 2 tests from HashsetTest (0 ms total)
[----------] 8 tests from IntervalTest
[ RUN ] IntervalTest.Interval
[ OK ] IntervalTest.Interval (0 ms)
[ RUN ] IntervalTest.EmptyInterval
[ OK ] IntervalTest.EmptyInterval (0 ms)
[ RUN ] IntervalTest.Constructor
[ OK ] IntervalTest.Constructor (0 ms)
[ RUN ] IntervalTest.Addition
[ OK ] IntervalTest.Addition (0 ms)
[ RUN ] IntervalTest.Subtraction
[ OK ] IntervalTest.Subtraction (0 ms)
[ RUN ] IntervalTest.Intersection
[ OK ] IntervalTest.Intersection (0 ms)
[ RUN ] IntervalTest.LargeInterval
[ OK ] IntervalTest.LargeInterval (0 ms)
[ RUN ] IntervalTest.IntervalIteration
[ OK ] IntervalTest.IntervalIteration (0 ms)
[----------] 8 tests from IntervalTest (0 ms total)
[----------] 8 tests from JsonTest
[ RUN ] JsonTest.DefaultValueIsNull
[ OK ] JsonTest.DefaultValueIsNull (0 ms)
[ RUN ] JsonTest.BinaryData
[ OK ] JsonTest.BinaryData (0 ms)
[ RUN ] JsonTest.NumberFormat
[ OK ] JsonTest.NumberFormat (0 ms)
[ RUN ] JsonTest.BooleanFormat
[ OK ] JsonTest.BooleanFormat (0 ms)
[ RUN ] JsonTest.BooleanAssignement
[ OK ] JsonTest.BooleanAssignement (0 ms)
[ RUN ] JsonTest.CStringAssignment
[ OK ] JsonTest.CStringAssignment (0 ms)
[ RUN ] JsonTest.NumericAssignment
[ OK ] JsonTest.NumericAssignment (0 ms)
[ RUN ] JsonTest.parse
[ OK ] JsonTest.parse (0 ms)
[----------] 8 tests from JsonTest (0 ms total)
[----------] 5 tests from LinkedHashmapTest
[ RUN ] LinkedHashmapTest.Put
[ OK ] LinkedHashmapTest.Put (0 ms)
[ RUN ] LinkedHashmapTest.Contains
[ OK ] LinkedHashmapTest.Contains (0 ms)
[ RUN ] LinkedHashmapTest.Erase
[ OK ] LinkedHashmapTest.Erase (0 ms)
[ RUN ] LinkedHashmapTest.Keys
[ OK ] LinkedHashmapTest.Keys (0 ms)
[ RUN ] LinkedHashmapTest.Values
[ OK ] LinkedHashmapTest.Values (0 ms)
[----------] 5 tests from LinkedHashmapTest (0 ms total)
[----------] 6 tests from MultimapTest/0, where TypeParam = Multimap<std::string, unsigned short>
[ RUN ] MultimapTest/0.Put
[ OK ] MultimapTest/0.Put (0 ms)
[ RUN ] MultimapTest/0.Remove
[ OK ] MultimapTest/0.Remove (0 ms)
[ RUN ] MultimapTest/0.Size
[ OK ] MultimapTest/0.Size (0 ms)
[ RUN ] MultimapTest/0.Keys
[ OK ] MultimapTest/0.Keys (0 ms)
[ RUN ] MultimapTest/0.Iterator
[ OK ] MultimapTest/0.Iterator (0 ms)
[ RUN ] MultimapTest/0.Foreach
[ OK ] MultimapTest/0.Foreach (0 ms)
[----------] 6 tests from MultimapTest/0 (0 ms total)
[----------] 6 tests from MultimapTest/1, where TypeParam = multihashmap<std::string, unsigned short>
[ RUN ] MultimapTest/1.Put
[ OK ] MultimapTest/1.Put (0 ms)
[ RUN ] MultimapTest/1.Remove
[ OK ] MultimapTest/1.Remove (0 ms)
[ RUN ] MultimapTest/1.Size
[ OK ] MultimapTest/1.Size (0 ms)
[ RUN ] MultimapTest/1.Keys
[ OK ] MultimapTest/1.Keys (0 ms)
[ RUN ] MultimapTest/1.Iterator
[ OK ] MultimapTest/1.Iterator (0 ms)
[ RUN ] MultimapTest/1.Foreach
[ OK ] MultimapTest/1.Foreach (0 ms)
[----------] 6 tests from MultimapTest/1 (0 ms total)
[----------] 2 tests from NetTest
[ RUN ] NetTest.mac
[ OK ] NetTest.mac (1 ms)
[ RUN ] NetTest.ip
[ OK ] NetTest.ip (0 ms)
[----------] 2 tests from NetTest (1 ms total)
[----------] 1 test from NoneTest
[ RUN ] NoneTest.Test
[ OK ] NoneTest.Test (0 ms)
[----------] 1 test from NoneTest (0 ms total)
[----------] 3 tests from OptionTest
[ RUN ] OptionTest.Min
[ OK ] OptionTest.Min (0 ms)
[ RUN ] OptionTest.Max
[ OK ] OptionTest.Max (0 ms)
[ RUN ] OptionTest.Comparison
[ OK ] OptionTest.Comparison (0 ms)
[----------] 3 tests from OptionTest (0 ms total)
[----------] 16 tests from OsTest
[ RUN ] OsTest.rmdir
[ OK ] OsTest.rmdir (1 ms)
[ RUN ] OsTest.nonblock
[ OK ] OsTest.nonblock (0 ms)
[ RUN ] OsTest.touch
[ OK ] OsTest.touch (0 ms)
[ RUN ] OsTest.readWriteString
[ OK ] OsTest.readWriteString (1 ms)
[ RUN ] OsTest.find
[ OK ] OsTest.find (1 ms)
[ RUN ] OsTest.bootId
[ OK ] OsTest.bootId (0 ms)
[ RUN ] OsTest.uname
[ OK ] OsTest.uname (0 ms)
[ RUN ] OsTest.sysname
[ OK ] OsTest.sysname (0 ms)
[ RUN ] OsTest.release
[ OK ] OsTest.release (0 ms)
[ RUN ] OsTest.sleep
[ OK ] OsTest.sleep (10 ms)
[ RUN ] OsTest.pids
[ OK ] OsTest.pids (19 ms)
[ RUN ] OsTest.children
[ OK ] OsTest.children (25 ms)
[ RUN ] OsTest.process
[ OK ] OsTest.process (1 ms)
[ RUN ] OsTest.processes
[ OK ] OsTest.processes (11 ms)
[ RUN ] OsTest.killtree
[ OK ] OsTest.killtree (73 ms)
[ RUN ] OsTest.pstree
[ OK ] OsTest.pstree (22 ms)
[----------] 16 tests from OsTest (164 ms total)
[----------] 1 test from ProtobufTest
[ RUN ] ProtobufTest.JSON
[ OK ] ProtobufTest.JSON (0 ms)
[----------] 1 test from ProtobufTest (0 ms total)
[----------] 1 test from OsSendfileTest
[ RUN ] OsSendfileTest.sendfile
[ OK ] OsSendfileTest.sendfile (0 ms)
[----------] 1 test from OsSendfileTest (0 ms total)
[----------] 1 test from OsSignalsTest
[ RUN ] OsSignalsTest.suppress
[ OK ] OsSignalsTest.suppress (0 ms)
[----------] 1 test from OsSignalsTest (0 ms total)
[----------] 22 tests from StringsTest
[ RUN ] StringsTest.Format
[ OK ] StringsTest.Format (0 ms)
[ RUN ] StringsTest.Remove
[ OK ] StringsTest.Remove (0 ms)
[ RUN ] StringsTest.Replace
[ OK ] StringsTest.Replace (0 ms)
[ RUN ] StringsTest.Trim
[ OK ] StringsTest.Trim (0 ms)
[ RUN ] StringsTest.Tokenize
[ OK ] StringsTest.Tokenize (0 ms)
[ RUN ] StringsTest.TokenizeStringWithDelimsAtStart
[ OK ] StringsTest.TokenizeStringWithDelimsAtStart (0 ms)
[ RUN ] StringsTest.TokenizeStringWithDelimsAtEnd
[ OK ] StringsTest.TokenizeStringWithDelimsAtEnd (0 ms)
[ RUN ] StringsTest.TokenizeStringWithDelimsAtStartAndEnd
[ OK ] StringsTest.TokenizeStringWithDelimsAtStartAndEnd (0 ms)
[ RUN ] StringsTest.TokenizeWithMultipleDelims
[ OK ] StringsTest.TokenizeWithMultipleDelims (0 ms)
[ RUN ] StringsTest.TokenizeEmptyString
[ OK ] StringsTest.TokenizeEmptyString (0 ms)
[ RUN ] StringsTest.TokenizeDelimOnlyString
[ OK ] StringsTest.TokenizeDelimOnlyString (0 ms)
[ RUN ] StringsTest.TokenizeNullByteDelim
[ OK ] StringsTest.TokenizeNullByteDelim (0 ms)
[ RUN ] StringsTest.SplitEmptyString
[ OK ] StringsTest.SplitEmptyString (0 ms)
[ RUN ] StringsTest.SplitDelimOnlyString
[ OK ] StringsTest.SplitDelimOnlyString (0 ms)
[ RUN ] StringsTest.Split
[ OK ] StringsTest.Split (0 ms)
[ RUN ] StringsTest.SplitStringWithDelimsAtStart
[ OK ] StringsTest.SplitStringWithDelimsAtStart (0 ms)
[ RUN ] StringsTest.SplitStringWithDelimsAtEnd
[ OK ] StringsTest.SplitStringWithDelimsAtEnd (0 ms)
[ RUN ] StringsTest.SplitStringWithDelimsAtStartAndEnd
[ OK ] StringsTest.SplitStringWithDelimsAtStartAndEnd (0 ms)
[ RUN ] StringsTest.SplitWithMultipleDelims
[ OK ] StringsTest.SplitWithMultipleDelims (0 ms)
[ RUN ] StringsTest.Pairs
[ OK ] StringsTest.Pairs (0 ms)
[ RUN ] StringsTest.StartsWith
[ OK ] StringsTest.StartsWith (0 ms)
[ RUN ] StringsTest.Contains
[ OK ] StringsTest.Contains (0 ms)
[----------] 22 tests from StringsTest (0 ms total)
[----------] 1 test from Thread
[ RUN ] Thread.local
[ OK ] Thread.local (0 ms)
[----------] 1 test from Thread (0 ms total)
[----------] 1 test from UUIDTest
[ RUN ] UUIDTest.test
[ OK ] UUIDTest.test (1 ms)
[----------] 1 test from UUIDTest (1 ms total)
[----------] 6 tests from ProcTest
[ RUN ] ProcTest.pids
[ OK ] ProcTest.pids (1 ms)
[ RUN ] ProcTest.cpus
[ OK ] ProcTest.cpus (0 ms)
[ RUN ] ProcTest.SystemStatus
[ OK ] ProcTest.SystemStatus (0 ms)
[ RUN ] ProcTest.ProcessStatus
[ OK ] ProcTest.ProcessStatus (0 ms)
[ RUN ] ProcTest.SingleThread
[ OK ] ProcTest.SingleThread (1 ms)
[ RUN ] ProcTest.MultipleThreads
[ OK ] ProcTest.MultipleThreads (1 ms)
[----------] 6 tests from ProcTest (3 ms total)
[----------] Global test environment tear-down
[==========] 117 tests from 24 test cases ran. (311 ms total)
[ PASSED ] 117 tests.
make[7]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[6]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
Making check in .
make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make tests
make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make[5]: `tests' is up to date.
make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make check-local
make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
./tests
[==========] Running 85 tests from 14 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from Decoder
[ RUN ] Decoder.Request
[ OK ] Decoder.Request (0 ms)
[ RUN ] Decoder.RequestHeaderContinuation
[ OK ] Decoder.RequestHeaderContinuation (0 ms)
[ RUN ] Decoder.Response
[ OK ] Decoder.Response (0 ms)
[----------] 3 tests from Decoder (0 ms total)
[----------] 2 tests from Encoder
[ RUN ] Encoder.Response
[ OK ] Encoder.Response (1 ms)
[ RUN ] Encoder.AcceptableEncodings
[ OK ] Encoder.AcceptableEncodings (0 ms)
[----------] 2 tests from Encoder (1 ms total)
[----------] 5 tests from HTTP
[ RUN ] HTTP.Endpoints
[ OK ] HTTP.Endpoints (1 ms)
[ RUN ] HTTP.Encode
[ OK ] HTTP.Encode (0 ms)
[ RUN ] HTTP.PathParse
[ OK ] HTTP.PathParse (1 ms)
[ RUN ] HTTP.Get
[ OK ] HTTP.Get (1 ms)
[ RUN ] HTTP.Post
[ OK ] HTTP.Post (0 ms)
[----------] 5 tests from HTTP (3 ms total)
[----------] 5 tests from IO
[ RUN ] IO.Poll
[ OK ] IO.Poll (1 ms)
[ RUN ] IO.Read
[ OK ] IO.Read (0 ms)
[ RUN ] IO.BufferedRead
[ OK ] IO.BufferedRead (3 ms)
[ RUN ] IO.Write
[ OK ] IO.Write (0 ms)
[ RUN ] IO.splice
[ OK ] IO.splice (35 ms)
[----------] 5 tests from IO (39 ms total)
[----------] 3 tests from Mutex
[ RUN ] Mutex.lock
[ OK ] Mutex.lock (0 ms)
[ RUN ] Mutex.block
[ OK ] Mutex.block (0 ms)
[ RUN ] Mutex.queue
[ OK ] Mutex.queue (0 ms)
[----------] 3 tests from Mutex (0 ms total)
[----------] 3 tests from Owned
[ RUN ] Owned.Access
[ OK ] Owned.Access (0 ms)
[ RUN ] Owned.Null
[ OK ] Owned.Null (0 ms)
[ RUN ] Owned.Share
[ OK ] Owned.Share (0 ms)
[----------] 3 tests from Owned (0 ms total)
[----------] 39 tests from Process
[ RUN ] Process.event
[ OK ] Process.event (0 ms)
[ RUN ] Process.future
[ OK ] Process.future (0 ms)
[ RUN ] Process.associate
[ OK ] Process.associate (0 ms)
[ RUN ] Process.onAny
[ OK ] Process.onAny (0 ms)
[ RUN ] Process.then
[ OK ] Process.then (0 ms)
[ RUN ] Process.after1
[ OK ] Process.after1 (10 ms)
[ RUN ] Process.after2
[ OK ] Process.after2 (10 ms)
[ RUN ] Process.chain
[ OK ] Process.chain (0 ms)
[ RUN ] Process.discard1
[ OK ] Process.discard1 (0 ms)
[ RUN ] Process.discard2
[ OK ] Process.discard2 (0 ms)
[ RUN ] Process.discard3
[ OK ] Process.discard3 (1 ms)
[ RUN ] Process.spawn
[ OK ] Process.spawn (0 ms)
[ RUN ] Process.dispatch
[ OK ] Process.dispatch (0 ms)
[ RUN ] Process.defer1
[ OK ] Process.defer1 (1 ms)
[ RUN ] Process.defer2
[ OK ] Process.defer2 (0 ms)
[ RUN ] Process.defer3
[ OK ] Process.defer3 (0 ms)
[ RUN ] Process.handlers
[ OK ] Process.handlers (0 ms)
[ RUN ] Process.expect
[ OK ] Process.expect (1 ms)
[ RUN ] Process.action
[ OK ] Process.action (0 ms)
[ RUN ] Process.inheritance
[ OK ] Process.inheritance (0 ms)
[ RUN ] Process.thunk
[ OK ] Process.thunk (0 ms)
[ RUN ] Process.delegate
[ OK ] Process.delegate (0 ms)
[ RUN ] Process.delay
[ OK ] Process.delay (1 ms)
[ RUN ] Process.order
[ OK ] Process.order (0 ms)
[ RUN ] Process.donate
[ OK ] Process.donate (0 ms)
[ RUN ] Process.exited
[ OK ] Process.exited (0 ms)
[ RUN ] Process.select
[ OK ] Process.select (0 ms)
[ RUN ] Process.collect
[ OK ] Process.collect (0 ms)
[ RUN ] Process.await1
[ OK ] Process.await1 (0 ms)
[ RUN ] Process.await2
[ OK ] Process.await2 (1 ms)
[ RUN ] Process.await3
[ OK ] Process.await3 (0 ms)
[ RUN ] Process.settle
[ OK ] Process.settle (40 ms)
[ RUN ] Process.pid
[ OK ] Process.pid (0 ms)
[ RUN ] Process.listener
[ OK ] Process.listener (0 ms)
[ RUN ] Process.executor
[ OK ] Process.executor (0 ms)
[ RUN ] Process.remote
[ OK ] Process.remote (1 ms)
[ RUN ] Process.async
[ OK ] Process.async (1 ms)
[ RUN ] Process.limiter
[ OK ] Process.limiter (7 ms)
[ RUN ] Process.provide
[ OK ] Process.provide (1 ms)
[----------] 39 tests from Process (75 ms total)
[----------] 3 tests from Reap
[ RUN ] Reap.NonChildProcess
[ OK ] Reap.NonChildProcess (41 ms)
[ RUN ] Reap.ChildProcess
[ OK ] Reap.ChildProcess (31 ms)
[ RUN ] Reap.TerminatedChildProcess
[ OK ] Reap.TerminatedChildProcess (22 ms)
[----------] 3 tests from Reap (94 ms total)
[----------] 4 tests from Sequence
[ RUN ] Sequence.Serialize
[ OK ] Sequence.Serialize (11 ms)
[ RUN ] Sequence.DiscardOne
[ OK ] Sequence.DiscardOne (10 ms)
[ RUN ] Sequence.DiscardAll
[ OK ] Sequence.DiscardAll (11 ms)
[ RUN ] Sequence.Random
[ OK ] Sequence.Random (12 ms)
[----------] 4 tests from Sequence (44 ms total)
[----------] 4 tests from Shared
[ RUN ] Shared.ConstAccess
[ OK ] Shared.ConstAccess (0 ms)
[ RUN ] Shared.Null
[ OK ] Shared.Null (0 ms)
[ RUN ] Shared.Reset
[ OK ] Shared.Reset (0 ms)
[ RUN ] Shared.Own
[ OK ] Shared.Own (0 ms)
[----------] 4 tests from Shared (0 ms total)
[----------] 3 tests from Statistics
[ RUN ] Statistics.set
[ OK ] Statistics.set (1 ms)
[ RUN ] Statistics.increment
[ OK ] Statistics.increment (0 ms)
[ RUN ] Statistics.decrement
[ OK ] Statistics.decrement (0 ms)
[----------] 3 tests from Statistics (1 ms total)
[----------] 5 tests from Subprocess
[ RUN ] Subprocess.status
[ OK ] Subprocess.status (123 ms)
[ RUN ] Subprocess.output
[ OK ] Subprocess.output (62 ms)
[ RUN ] Subprocess.input
[ OK ] Subprocess.input (31 ms)
[ RUN ] Subprocess.splice
[ OK ] Subprocess.splice (31 ms)
[ RUN ] Subprocess.env
[ OK ] Subprocess.env (61 ms)
[----------] 5 tests from Subprocess (308 ms total)
[----------] 3 tests from TimeSeries
[ RUN ] TimeSeries.set
[ OK ] TimeSeries.set (0 ms)
[ RUN ] TimeSeries.sparsify
[ OK ] TimeSeries.sparsify (0 ms)
[ RUN ] TimeSeries.truncate
[ OK ] TimeSeries.truncate (1 ms)
[----------] 3 tests from TimeSeries (1 ms total)
[----------] 3 tests from TimeTest
[ RUN ] TimeTest.Arithmetic
[ OK ] TimeTest.Arithmetic (0 ms)
[ RUN ] TimeTest.Now
[ OK ] TimeTest.Now (0 ms)
[ RUN ] TimeTest.Output
[ OK ] TimeTest.Output (0 ms)
[----------] 3 tests from TimeTest (0 ms total)
[----------] Global test environment tear-down
[==========] 85 tests from 14 test cases ran. (567 ms total)
[ PASSED ] 85 tests.
YOU HAVE 2 DISABLED TESTS
make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
cd leveldb && \
make CC="gcc" CXX="g++" OPT="-g -g2 -O2 -std=c++0x -fPIC"
make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/leveldb'
make[4]: Nothing to be done for `default'.
make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/leveldb'
make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
make[2]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
Making check in src
make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make check-am
make[2]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make test-framework test-executor long-lived-framework long-lived-executor no-executor-framework balloon-framework balloon-executor mesos-tests examples/python/test_framework.py examples/python/test-framework examples/python/test_executor.py examples/python/test-executor \
tests/balloon_framework_test.sh tests/test_framework_test.sh tests/no_executor_framework_test.sh tests/java_exception_test.sh tests/java_framework_test.sh tests/java_log_test.sh tests/python_framework_test.sh
make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make[3]: `test-framework' is up to date.
make[3]: `test-executor' is up to date.
make[3]: `long-lived-framework' is up to date.
make[3]: `long-lived-executor' is up to date.
make[3]: `no-executor-framework' is up to date.
make[3]: `balloon-framework' is up to date.
make[3]: `balloon-executor' is up to date.
make[3]: `mesos-tests' is up to date.
make[3]: Nothing to be done for `examples/python/test_framework.py'.
make[3]: Nothing to be done for `examples/python/test-framework'.
make[3]: Nothing to be done for `examples/python/test_executor.py'.
make[3]: Nothing to be done for `examples/python/test-executor'.
make[3]: Nothing to be done for `tests/balloon_framework_test.sh'.
make[3]: Nothing to be done for `tests/test_framework_test.sh'.
make[3]: Nothing to be done for `tests/no_executor_framework_test.sh'.
make[3]: Nothing to be done for `tests/java_exception_test.sh'.
make[3]: Nothing to be done for `tests/java_framework_test.sh'.
make[3]: Nothing to be done for `tests/java_log_test.sh'.
make[3]: Nothing to be done for `tests/python_framework_test.sh'.
make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make check-local
make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
./mesos-tests
Source directory: /home/jenkins/jenkins-slave/workspace/mesos-reviewbot
Build directory: /home/jenkins/jenkins-slave/workspace/mesos-reviewbot
Note: Google Test filter = *-CpuIsolatorTest/1.UserCpuUsage:CpuIsolatorTest/1.SystemCpuUsage:LimitedCpuIsolatorTest.ROOT_CGROUPS_Cfs:LimitedCpuIsolatorTest.ROOT_CGROUPS_Cfs_Big_Quota:MemIsolatorTest/0.MemUsage:MemIsolatorTest/1.MemUsage:ContainerizerTest.ROOT_CGROUPS_BalloonFramework:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Enabled:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Subsystems:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Mounted:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Get:CgroupsAnyHierarchyTest.ROOT_CGROUPS_NestedCgroups:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Tasks:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Read:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Write:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Cfs_Big_Quota:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Busy:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_SubsystemsHierarchy:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_MountedSubsystems:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_CreateRemove:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUP
S_Listen:CgroupsNoHierarchyTest.ROOT_CGROUPS_NOHIERARCHY_MountUnmountHierarchy:CgroupsAnyHierarchyWithCpuAcctMemoryTest.ROOT_CGROUPS_Stat:CgroupsAnyHierarchyWithFreezerTest.ROOT_CGROUPS_Freeze:CgroupsAnyHierarchyWithFreezerTest.ROOT_CGROUPS_Kill:CgroupsAnyHierarchyWithFreezerTest.ROOT_CGROUPS_Destroy:
[==========] Running 280 tests from 49 test cases.
[----------] Global test environment set-up.
[----------] 1 test from DRFAllocatorTest
[ RUN ] DRFAllocatorTest.DRFAllocatorProcess
[ OK ] DRFAllocatorTest.DRFAllocatorProcess (280 ms)
[----------] 1 test from DRFAllocatorTest (280 ms total)
[----------] 2 tests from ReservationAllocatorTest
[ RUN ] ReservationAllocatorTest.ReservedResources
Failed to prepare cgroup for slave: Using cgroups requires root permissions
tests/containerizer.cpp:183: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0xf361a0.
tests/containerizer.cpp:183: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0xf5c720.
../3rdparty/libprocess/include/process/gmock.hpp:138: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0xf6bac8.
tests/containerizer.cpp:183: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0xf764b0.
tests/containerizer.cpp:183: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0xf80760.
tests/containerizer.cpp:183: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0xf94100.
tests/allocator_tests.cpp:403: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0x7fff16cc0a90.
tests/allocator_tests.cpp:425: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0x7fff16cc1000.
tests/allocator_tests.cpp:446: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0x7fff16cc1570.
./tests/mesos.hpp:409: ERROR: this mock object (used in test ReservationAllocatorTest.ReservedResources) should be deleted but never is. Its address is @0x7fff16cc2e60.
ERROR: 10 leaked mock objects found at program exit.
make[3]: *** [check-local] Error 1
make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make: *** [check-recursive] Error 1
- Mesos ReviewBot
On March 26, 2014, 11:51 p.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 26, 2014, 11:51 p.m.)
>
>
> Review request for mesos, Ben Mahler and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
> src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
> src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
> src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
> src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 26, 2014, 11:51 p.m.)
Review request for mesos, Ben Mahler and Vinod Kone.
Changes
-------
Re-added depends.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs
-----
src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38669
-----------------------------------------------------------
Bad patch!
Reviews applied: [19361, 19699, 19700, 19248]
Failed command: make -j3 check GTEST_FILTER='' >/dev/null
Error:
ev.c:1531:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' [enabled by default]
ev.c: In function 'evpipe_write':
ev.c:2160:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2172:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c: In function 'pipecb':
ev.c:2193:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2207:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
In file included from /usr/include/c++/4.6/ext/hash_set:61:0,
from src/glog/stl_logging.h:54,
from src/stl_logging_unittest.cc:34:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
In file included from src/utilities.h:73:0,
from src/googletest.h:38,
from src/stl_logging_unittest.cc:48:
src/base/mutex.h:137:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
/usr/include/features.h:166:0: note: this is the location of the previous definition
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
mkdir: cannot create directory `.libs': File exists
zip_safe flag not set; analyzing archive contents...
WARNING: '.' not a valid package name; please use only.-separated package names in setup.py
package init file 'src/__init__.py' not found (or not a regular file)
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
zip_safe flag not set; analyzing archive contents...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
make[3]: *** [check-local] Segmentation fault
make[2]: *** [check-am] Error 2
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1
- Mesos ReviewBot
On March 26, 2014, 10:24 p.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 26, 2014, 10:24 p.m.)
>
>
> Review request for mesos, Ben Mahler and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
> src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
> src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
> src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
> src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 26, 2014, 10:24 p.m.)
Review request for mesos, Ben Mahler and Vinod Kone.
Changes
-------
Rebased.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs (updated)
-----
src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/slave.cpp 0d712ee1f5351965d6643a8a984a347c61075876
src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
src/tests/master_tests.cpp 39c8c23a8459d1bc7174e073221d7bb72f995bc8
src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 26, 2014, 10:13 p.m.)
Review request for mesos, Ben Mahler and Vinod Kone.
Changes
-------
Make this enabled by default.
Update test cluster code to move threads out when a slave is stopped. Unset for tests that use concurrent slaves and also all examples tests.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs (updated)
-----
src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/slave.cpp 729860649b25cf654dfaf97849ee7ce3ce67c602
src/tests/allocator_tests.cpp 31cc8363fd647f3358d684b8a49b8bf657d94dd2
src/tests/cgroups_tests.cpp 4a092cc5d60f1e9603c8524e686c71728da85f73
src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
src/tests/master_tests.cpp 4395883d7ac9656e22db88ffabee39b38da1ba7b
src/tests/resource_offers_tests.cpp cf910e5928bd7509139ec1b98459eb68a88065f1
src/tests/slave_recovery_tests.cpp 40a9599787918b78790462e81729ec7ac2395509
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38321
-----------------------------------------------------------
rebase?
- Vinod Kone
On March 24, 2014, 4:37 p.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 24, 2014, 4:37 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/3rdparty/stout/Makefile.am df149ddc8669b0c541361922631f4f3958bd096d
> 3rdparty/libprocess/3rdparty/stout/include/stout/cache.hpp 67b88bc5959e2d8c2cee5c0a218229c293afcf60
> 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 901e5550c82c12934a6b9c3154f030c677e41a38
> 3rdparty/libprocess/3rdparty/stout/include/stout/os/permissions.hpp ba8463cc152701d6eb1deba8d1561688ecf5b7b5
> 3rdparty/libprocess/configure.ac 2e0b72c223955a21573c0d2937420635c128b4d8
> 3rdparty/libprocess/m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
> bin/mesos-slave-flags.sh.in 8c936aa06e994a87a8b09b31c907868bf9be38c7
> configure.ac 5404dc29a53368332b386a410226652ff7425fc7
> docs/getting-started.md d7ced76125c6aba0d7e1a0f4ca8165652b17af0d
> docs/powered-by-mesos.md aee232eab7508f6aa948128531a41db9e7e6e3d2
> m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
> src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
> src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 668647fdfc0e203fcde59263256659ba14e29960
> src/linux/cgroups.hpp 6056e3ae59ed813d75b1bb46b276872530155ec7
> src/linux/cgroups.cpp eff15af417f3827b4a1f73770b98dc9fccbc397e
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/master/detector.cpp 8b10061de12a35ad6624db594dc4ec36502b2420
> src/master/flags.hpp 024f86d93824a20ce42c28b8264576f1cb715d0e
> src/master/http.cpp 72d8e91013cd6a9c52a6d1ffdf517a52c4567bb7
> src/master/main.cpp f12f20a1eabd163c4f35056bf01f28f3edd408a9
> src/master/master.hpp a37a2a2fa3713b8251eb318dfb45e0793cb344ff
> src/master/master.cpp 3b28f72be2016997e30649d2b12ed0e8f1a57dd5
> src/master/registrar.hpp 98bfa1e83b7e6d28e011444a665155e31922446c
> src/master/registrar.cpp cbb67bd17402692d3bb81fe58baea952897c56d1
> src/slave/containerizer/containerizer.cpp 344872a6485c5b0c2c68ddbe0190e52e99cc0b0c
> src/slave/containerizer/isolators/cgroups/cpushare.cpp 11665dbe88e3920fd9d8a2259987611d49e85462
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp d8d3e0fa54972201d72b2650ec0ba922a4912d54
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/environment.cpp feeca042265eede40e87db3ee5ab89be04509a90
> src/tests/registrar_tests.cpp 41836aeaf94e1b21e040b9e8ecf71e0b5a351f8e
> src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review38311
-----------------------------------------------------------
Bad patch!
Reviews applied: [19361, 19248]
Failed command: git apply --index 19248.patch
Error:
19248.patch:435: trailing whitespace.
#
19248.patch:438: trailing whitespace.
#
19248.patch:994: trailing whitespace.
error: patch failed: src/master/master.cpp:289
error: src/master/master.cpp: patch does not apply
error: patch failed: src/master/registrar.hpp:23
error: src/master/registrar.hpp: patch does not apply
error: patch failed: src/master/registrar.cpp:57
error: src/master/registrar.cpp: patch does not apply
error: patch failed: src/tests/registrar_tests.cpp:27
error: src/tests/registrar_tests.cpp: patch does not apply
- Mesos ReviewBot
On March 24, 2014, 4:37 p.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 24, 2014, 4:37 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/3rdparty/stout/Makefile.am df149ddc8669b0c541361922631f4f3958bd096d
> 3rdparty/libprocess/3rdparty/stout/include/stout/cache.hpp 67b88bc5959e2d8c2cee5c0a218229c293afcf60
> 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 901e5550c82c12934a6b9c3154f030c677e41a38
> 3rdparty/libprocess/3rdparty/stout/include/stout/os/permissions.hpp ba8463cc152701d6eb1deba8d1561688ecf5b7b5
> 3rdparty/libprocess/configure.ac 2e0b72c223955a21573c0d2937420635c128b4d8
> 3rdparty/libprocess/m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
> bin/mesos-slave-flags.sh.in 8c936aa06e994a87a8b09b31c907868bf9be38c7
> configure.ac 5404dc29a53368332b386a410226652ff7425fc7
> docs/getting-started.md d7ced76125c6aba0d7e1a0f4ca8165652b17af0d
> docs/powered-by-mesos.md aee232eab7508f6aa948128531a41db9e7e6e3d2
> m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
> src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
> src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 668647fdfc0e203fcde59263256659ba14e29960
> src/linux/cgroups.hpp 6056e3ae59ed813d75b1bb46b276872530155ec7
> src/linux/cgroups.cpp eff15af417f3827b4a1f73770b98dc9fccbc397e
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/master/detector.cpp 8b10061de12a35ad6624db594dc4ec36502b2420
> src/master/flags.hpp 024f86d93824a20ce42c28b8264576f1cb715d0e
> src/master/http.cpp 72d8e91013cd6a9c52a6d1ffdf517a52c4567bb7
> src/master/main.cpp f12f20a1eabd163c4f35056bf01f28f3edd408a9
> src/master/master.hpp a37a2a2fa3713b8251eb318dfb45e0793cb344ff
> src/master/master.cpp 3b28f72be2016997e30649d2b12ed0e8f1a57dd5
> src/master/registrar.hpp 98bfa1e83b7e6d28e011444a665155e31922446c
> src/master/registrar.cpp cbb67bd17402692d3bb81fe58baea952897c56d1
> src/slave/containerizer/containerizer.cpp 344872a6485c5b0c2c68ddbe0190e52e99cc0b0c
> src/slave/containerizer/isolators/cgroups/cpushare.cpp 11665dbe88e3920fd9d8a2259987611d49e85462
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp d8d3e0fa54972201d72b2650ec0ba922a4912d54
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/environment.cpp feeca042265eede40e87db3ee5ab89be04509a90
> src/tests/registrar_tests.cpp 41836aeaf94e1b21e040b9e8ecf71e0b5a351f8e
> src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 24, 2014, 4:37 p.m.)
Review request for mesos and Vinod Kone.
Changes
-------
Added dependency.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs
-----
3rdparty/libprocess/3rdparty/stout/Makefile.am df149ddc8669b0c541361922631f4f3958bd096d
3rdparty/libprocess/3rdparty/stout/include/stout/cache.hpp 67b88bc5959e2d8c2cee5c0a218229c293afcf60
3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 901e5550c82c12934a6b9c3154f030c677e41a38
3rdparty/libprocess/3rdparty/stout/include/stout/os/permissions.hpp ba8463cc152701d6eb1deba8d1561688ecf5b7b5
3rdparty/libprocess/configure.ac 2e0b72c223955a21573c0d2937420635c128b4d8
3rdparty/libprocess/m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
bin/mesos-slave-flags.sh.in 8c936aa06e994a87a8b09b31c907868bf9be38c7
configure.ac 5404dc29a53368332b386a410226652ff7425fc7
docs/getting-started.md d7ced76125c6aba0d7e1a0f4ca8165652b17af0d
docs/powered-by-mesos.md aee232eab7508f6aa948128531a41db9e7e6e3d2
m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 668647fdfc0e203fcde59263256659ba14e29960
src/linux/cgroups.hpp 6056e3ae59ed813d75b1bb46b276872530155ec7
src/linux/cgroups.cpp eff15af417f3827b4a1f73770b98dc9fccbc397e
src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
src/master/detector.cpp 8b10061de12a35ad6624db594dc4ec36502b2420
src/master/flags.hpp 024f86d93824a20ce42c28b8264576f1cb715d0e
src/master/http.cpp 72d8e91013cd6a9c52a6d1ffdf517a52c4567bb7
src/master/main.cpp f12f20a1eabd163c4f35056bf01f28f3edd408a9
src/master/master.hpp a37a2a2fa3713b8251eb318dfb45e0793cb344ff
src/master/master.cpp 3b28f72be2016997e30649d2b12ed0e8f1a57dd5
src/master/registrar.hpp 98bfa1e83b7e6d28e011444a665155e31922446c
src/master/registrar.cpp cbb67bd17402692d3bb81fe58baea952897c56d1
src/slave/containerizer/containerizer.cpp 344872a6485c5b0c2c68ddbe0190e52e99cc0b0c
src/slave/containerizer/isolators/cgroups/cpushare.cpp 11665dbe88e3920fd9d8a2259987611d49e85462
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/slave.cpp d8d3e0fa54972201d72b2650ec0ba922a4912d54
src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
src/tests/environment.cpp feeca042265eede40e87db3ee5ab89be04509a90
src/tests/registrar_tests.cpp 41836aeaf94e1b21e040b9e8ecf71e0b5a351f8e
src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 21, 2014, 8:56 p.m.)
Review request for mesos and Vinod Kone.
Changes
-------
Vinod: I didn't change the behavior around existing processes in the slave cgroup but did add a TODO. I'd actually like visibility into when this occurs and require human intervention.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs (updated)
-----
3rdparty/libprocess/3rdparty/stout/Makefile.am df149ddc8669b0c541361922631f4f3958bd096d
3rdparty/libprocess/3rdparty/stout/include/stout/cache.hpp 67b88bc5959e2d8c2cee5c0a218229c293afcf60
3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 901e5550c82c12934a6b9c3154f030c677e41a38
3rdparty/libprocess/3rdparty/stout/include/stout/os/permissions.hpp ba8463cc152701d6eb1deba8d1561688ecf5b7b5
3rdparty/libprocess/configure.ac 2e0b72c223955a21573c0d2937420635c128b4d8
3rdparty/libprocess/m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
bin/mesos-slave-flags.sh.in 8c936aa06e994a87a8b09b31c907868bf9be38c7
configure.ac 5404dc29a53368332b386a410226652ff7425fc7
docs/getting-started.md d7ced76125c6aba0d7e1a0f4ca8165652b17af0d
docs/powered-by-mesos.md aee232eab7508f6aa948128531a41db9e7e6e3d2
m4/ax_compare_version.m4 97448f96054d377073317cb6fec98fcd6c5515b9
src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 668647fdfc0e203fcde59263256659ba14e29960
src/linux/cgroups.hpp 6056e3ae59ed813d75b1bb46b276872530155ec7
src/linux/cgroups.cpp eff15af417f3827b4a1f73770b98dc9fccbc397e
src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
src/master/detector.cpp 8b10061de12a35ad6624db594dc4ec36502b2420
src/master/flags.hpp 024f86d93824a20ce42c28b8264576f1cb715d0e
src/master/http.cpp 72d8e91013cd6a9c52a6d1ffdf517a52c4567bb7
src/master/main.cpp f12f20a1eabd163c4f35056bf01f28f3edd408a9
src/master/master.hpp a37a2a2fa3713b8251eb318dfb45e0793cb344ff
src/master/master.cpp 3b28f72be2016997e30649d2b12ed0e8f1a57dd5
src/master/registrar.hpp 98bfa1e83b7e6d28e011444a665155e31922446c
src/master/registrar.cpp cbb67bd17402692d3bb81fe58baea952897c56d1
src/slave/containerizer/containerizer.cpp 344872a6485c5b0c2c68ddbe0190e52e99cc0b0c
src/slave/containerizer/isolators/cgroups/cpushare.cpp 11665dbe88e3920fd9d8a2259987611d49e85462
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/slave.cpp d8d3e0fa54972201d72b2650ec0ba922a4912d54
src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
src/tests/environment.cpp feeca042265eede40e87db3ee5ab89be04509a90
src/tests/registrar_tests.cpp 41836aeaf94e1b21e040b9e8ecf71e0b5a351f8e
src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review37586
-----------------------------------------------------------
Bad patch!
Reviews applied: [19248]
Failed command: make -j3 check GTEST_FILTER='' >/dev/null
Error:
ev.c:1531:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' [enabled by default]
ev.c: In function 'evpipe_write':
ev.c:2160:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2172:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c: In function 'pipecb':
ev.c:2193:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2207:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
In file included from /usr/include/c++/4.6/ext/hash_set:61:0,
from src/glog/stl_logging.h:54,
from src/stl_logging_unittest.cc:34:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
In file included from src/utilities.h:73:0,
from src/googletest.h:38,
from src/stl_logging_unittest.cc:48:
src/base/mutex.h:137:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
/usr/include/features.h:166:0: note: this is the location of the previous definition
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
zip_safe flag not set; analyzing archive contents...
slave/slave.cpp: In member function 'virtual void mesos::internal::slave::Slave::initialize()':
slave/slave.cpp:179:31: error: 'tids' is not a member of 'proc'
make[2]: *** [slave/libmesos_no_3rdparty_la-slave.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1
- Mesos ReviewBot
On March 18, 2014, 5:58 p.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 18, 2014, 5:58 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/3rdparty/stout/Makefile.am df149ddc8669b0c541361922631f4f3958bd096d
> 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 901e5550c82c12934a6b9c3154f030c677e41a38
> 3rdparty/libprocess/3rdparty/stout/include/stout/os/permissions.hpp ba8463cc152701d6eb1deba8d1561688ecf5b7b5
> bin/mesos-slave-flags.sh.in 8c936aa06e994a87a8b09b31c907868bf9be38c7
> configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a
> docs/getting-started.md d7ced76125c6aba0d7e1a0f4ca8165652b17af0d
> src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
> src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 668647fdfc0e203fcde59263256659ba14e29960
> src/linux/cgroups.hpp 6056e3ae59ed813d75b1bb46b276872530155ec7
> src/linux/cgroups.cpp eff15af417f3827b4a1f73770b98dc9fccbc397e
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/master/detector.cpp 8b10061de12a35ad6624db594dc4ec36502b2420
> src/master/flags.hpp 024f86d93824a20ce42c28b8264576f1cb715d0e
> src/master/http.cpp 72d8e91013cd6a9c52a6d1ffdf517a52c4567bb7
> src/master/main.cpp f12f20a1eabd163c4f35056bf01f28f3edd408a9
> src/master/master.hpp 0c7c5204c31087f12c4e98028f90c1b941eab7c7
> src/master/master.cpp 6da776699beb6f449e8160dcb6a125d94c1ab437
> src/master/registrar.hpp 98bfa1e83b7e6d28e011444a665155e31922446c
> src/master/registrar.cpp cbb67bd17402692d3bb81fe58baea952897c56d1
> src/slave/containerizer/containerizer.cpp faf3d0cf97aafd88eab82ae39e2255b1eb4ce294
> src/slave/containerizer/isolators/cgroups/cpushare.cpp 11665dbe88e3920fd9d8a2259987611d49e85462
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp d8d3e0fa54972201d72b2650ec0ba922a4912d54
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/environment.cpp feeca042265eede40e87db3ee5ab89be04509a90
> src/tests/registrar_tests.cpp 41836aeaf94e1b21e040b9e8ecf71e0b5a351f8e
> src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 18, 2014, 5:58 p.m.)
Review request for mesos and Vinod Kone.
Changes
-------
Specify flag is comma separated list of cgroups.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs (updated)
-----
3rdparty/libprocess/3rdparty/stout/Makefile.am df149ddc8669b0c541361922631f4f3958bd096d
3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 901e5550c82c12934a6b9c3154f030c677e41a38
3rdparty/libprocess/3rdparty/stout/include/stout/os/permissions.hpp ba8463cc152701d6eb1deba8d1561688ecf5b7b5
bin/mesos-slave-flags.sh.in 8c936aa06e994a87a8b09b31c907868bf9be38c7
configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a
docs/getting-started.md d7ced76125c6aba0d7e1a0f4ca8165652b17af0d
src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 668647fdfc0e203fcde59263256659ba14e29960
src/linux/cgroups.hpp 6056e3ae59ed813d75b1bb46b276872530155ec7
src/linux/cgroups.cpp eff15af417f3827b4a1f73770b98dc9fccbc397e
src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
src/master/detector.cpp 8b10061de12a35ad6624db594dc4ec36502b2420
src/master/flags.hpp 024f86d93824a20ce42c28b8264576f1cb715d0e
src/master/http.cpp 72d8e91013cd6a9c52a6d1ffdf517a52c4567bb7
src/master/main.cpp f12f20a1eabd163c4f35056bf01f28f3edd408a9
src/master/master.hpp 0c7c5204c31087f12c4e98028f90c1b941eab7c7
src/master/master.cpp 6da776699beb6f449e8160dcb6a125d94c1ab437
src/master/registrar.hpp 98bfa1e83b7e6d28e011444a665155e31922446c
src/master/registrar.cpp cbb67bd17402692d3bb81fe58baea952897c56d1
src/slave/containerizer/containerizer.cpp faf3d0cf97aafd88eab82ae39e2255b1eb4ce294
src/slave/containerizer/isolators/cgroups/cpushare.cpp 11665dbe88e3920fd9d8a2259987611d49e85462
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/slave.cpp d8d3e0fa54972201d72b2650ec0ba922a4912d54
src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
src/tests/environment.cpp feeca042265eede40e87db3ee5ab89be04509a90
src/tests/registrar_tests.cpp 41836aeaf94e1b21e040b9e8ecf71e0b5a351f8e
src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 18, 2014, 5:54 p.m.)
Review request for mesos and Vinod Kone.
Changes
-------
Moved code into slave and explicitly move all threads in each cgroup.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs (updated)
-----
3rdparty/libprocess/3rdparty/stout/Makefile.am df149ddc8669b0c541361922631f4f3958bd096d
3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 901e5550c82c12934a6b9c3154f030c677e41a38
3rdparty/libprocess/3rdparty/stout/include/stout/os/permissions.hpp ba8463cc152701d6eb1deba8d1561688ecf5b7b5
bin/mesos-slave-flags.sh.in 8c936aa06e994a87a8b09b31c907868bf9be38c7
configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a
docs/getting-started.md d7ced76125c6aba0d7e1a0f4ca8165652b17af0d
src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 668647fdfc0e203fcde59263256659ba14e29960
src/linux/cgroups.hpp 6056e3ae59ed813d75b1bb46b276872530155ec7
src/linux/cgroups.cpp eff15af417f3827b4a1f73770b98dc9fccbc397e
src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
src/master/detector.cpp 8b10061de12a35ad6624db594dc4ec36502b2420
src/master/flags.hpp 024f86d93824a20ce42c28b8264576f1cb715d0e
src/master/http.cpp 72d8e91013cd6a9c52a6d1ffdf517a52c4567bb7
src/master/main.cpp f12f20a1eabd163c4f35056bf01f28f3edd408a9
src/master/master.hpp 0c7c5204c31087f12c4e98028f90c1b941eab7c7
src/master/master.cpp 6da776699beb6f449e8160dcb6a125d94c1ab437
src/master/registrar.hpp 98bfa1e83b7e6d28e011444a665155e31922446c
src/master/registrar.cpp cbb67bd17402692d3bb81fe58baea952897c56d1
src/slave/containerizer/containerizer.cpp faf3d0cf97aafd88eab82ae39e2255b1eb4ce294
src/slave/containerizer/isolators/cgroups/cpushare.cpp 11665dbe88e3920fd9d8a2259987611d49e85462
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/slave.cpp d8d3e0fa54972201d72b2650ec0ba922a4912d54
src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
src/tests/environment.cpp feeca042265eede40e87db3ee5ab89be04509a90
src/tests/registrar_tests.cpp 41836aeaf94e1b21e040b9e8ecf71e0b5a351f8e
src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
Thanks,
Ian Downes
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Dominic Hamon <dh...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review37441
-----------------------------------------------------------
src/slave/flags.hpp
<https://reviews.apache.org/r/19248/#comment68974>
specify 'comma-separated'
- Dominic Hamon
On March 14, 2014, 5:50 p.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 14, 2014, 5:50 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/main.cpp 8c2b70cb864b268ebd7fba89b02a571602b821bb
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review37342
-----------------------------------------------------------
Patch looks great!
Reviews applied: [19248]
All tests passed.
- Mesos ReviewBot
On March 15, 2014, 12:50 a.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 15, 2014, 12:50 a.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/main.cpp 8c2b70cb864b268ebd7fba89b02a571602b821bb
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
> On March 15, 2014, 1:06 a.m., Vinod Kone wrote:
> > src/slave/main.cpp, lines 168-169
> > <https://reviews.apache.org/r/19248/diff/1/?file=520091#file520091line168>
> >
> > Doesn't moving the process to a cgroup move all its threads? Not sure if this patch landed: http://lwn.net/Articles/421282/
> >
> >
> > One disadvantage of doing it main is that we can't write tests :(
I'm not sure on the status of the linked patch but I testing on a Linux 3.4 kernel and it did not move all threads so the code explicitly moves all threads for the process. Attempting to move a thread that is already in a cgroup isn't an error so this will work on kernels with the patch.
- Ian
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review37307
-----------------------------------------------------------
On March 18, 2014, 5:58 p.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 18, 2014, 5:58 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/3rdparty/stout/Makefile.am df149ddc8669b0c541361922631f4f3958bd096d
> 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 901e5550c82c12934a6b9c3154f030c677e41a38
> 3rdparty/libprocess/3rdparty/stout/include/stout/os/permissions.hpp ba8463cc152701d6eb1deba8d1561688ecf5b7b5
> bin/mesos-slave-flags.sh.in 8c936aa06e994a87a8b09b31c907868bf9be38c7
> configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a
> docs/getting-started.md d7ced76125c6aba0d7e1a0f4ca8165652b17af0d
> src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
> src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 668647fdfc0e203fcde59263256659ba14e29960
> src/linux/cgroups.hpp 6056e3ae59ed813d75b1bb46b276872530155ec7
> src/linux/cgroups.cpp eff15af417f3827b4a1f73770b98dc9fccbc397e
> src/local/local.cpp 2cfdf49c9eb92302502eb50c623f9606977b88b6
> src/master/detector.cpp 8b10061de12a35ad6624db594dc4ec36502b2420
> src/master/flags.hpp 024f86d93824a20ce42c28b8264576f1cb715d0e
> src/master/http.cpp 72d8e91013cd6a9c52a6d1ffdf517a52c4567bb7
> src/master/main.cpp f12f20a1eabd163c4f35056bf01f28f3edd408a9
> src/master/master.hpp 0c7c5204c31087f12c4e98028f90c1b941eab7c7
> src/master/master.cpp 6da776699beb6f449e8160dcb6a125d94c1ab437
> src/master/registrar.hpp 98bfa1e83b7e6d28e011444a665155e31922446c
> src/master/registrar.cpp cbb67bd17402692d3bb81fe58baea952897c56d1
> src/slave/containerizer/containerizer.cpp faf3d0cf97aafd88eab82ae39e2255b1eb4ce294
> src/slave/containerizer/isolators/cgroups/cpushare.cpp 11665dbe88e3920fd9d8a2259987611d49e85462
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/slave.cpp d8d3e0fa54972201d72b2650ec0ba922a4912d54
> src/tests/cluster.hpp 40d9f8c18307aead2374396710f9a82466e3a716
> src/tests/environment.cpp feeca042265eede40e87db3ee5ab89be04509a90
> src/tests/registrar_tests.cpp 41836aeaf94e1b21e040b9e8ecf71e0b5a351f8e
> src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/#review37307
-----------------------------------------------------------
src/slave/main.cpp
<https://reviews.apache.org/r/19248/#comment68765>
Doesn't moving the process to a cgroup move all its threads? Not sure if this patch landed: http://lwn.net/Articles/421282/
One disadvantage of doing it main is that we can't write tests :(
- Vinod Kone
On March 15, 2014, 12:50 a.m., Ian Downes wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19248/
> -----------------------------------------------------------
>
> (Updated March 15, 2014, 12:50 a.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-327
> https://issues.apache.org/jira/browse/MESOS-327
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
>
> cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
>
>
> Diffs
> -----
>
> src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
> src/slave/main.cpp 8c2b70cb864b268ebd7fba89b02a571602b821bb
>
> Diff: https://reviews.apache.org/r/19248/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ian Downes
>
>
Re: Review Request 19248: Add support to move the slave into separate
cgroups for monitoring
Posted by Ian Downes <ia...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19248/
-----------------------------------------------------------
(Updated March 15, 2014, 12:50 a.m.)
Review request for mesos and Vinod Kone.
Changes
-------
assigning to myself for shepherding -- Vinod.
Bugs: MESOS-327
https://issues.apache.org/jira/browse/MESOS-327
Repository: mesos-git
Description
-------
This functionality is intended to support monitoring of the slave's resources, specifically memory and cpu. This is done by moving the slave into a cpuacct and memory cgroup under $cgroups_hierarchy/{cpuacct,memory}/$cgroups_root/slave.
cgroup statistics will be of the slave itself plus any child process that isn't moved to another cgroup, e.g., mesos-fetcher will be accounted but executors will not.
Diffs
-----
src/slave/flags.hpp c9a627bc405a48da5d5ef9a90355970151fd6149
src/slave/main.cpp 8c2b70cb864b268ebd7fba89b02a571602b821bb
Diff: https://reviews.apache.org/r/19248/diff/
Testing
-------
Thanks,
Ian Downes