mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chi Zhang" <chzhc...@gmail.com>
Subject Re: Review Request 31250: Expose the number of processes and threads in a container when cgroup is enabled.
Date Tue, 24 Feb 2015 00:45:30 GMT

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

(Updated Feb. 24, 2015, 12:45 a.m.)


Review request for mesos and Ian Downes.


Changes
-------

addressed comments.


Bugs: mesos-2103
    https://issues.apache.org/jira/browse/mesos-2103


Repository: mesos


Description
-------

Ian, as discussed, I put the logic in cpu isolator for now until linux launcher sees more
and more need to report isolator-independent cgroup usage.


Diffs (updated)
-----

  include/mesos/mesos.proto 9df972d750ce1e4a81d2e96cc508d6f83cad2fc8 
  src/slave/containerizer/isolators/cgroups/cpushare.cpp b6df23963f20e5f14f484d449733655d46cd6884

  src/tests/isolator_tests.cpp f7323965b94543bfda78afc4f60fc677f4900ecd 

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


Testing
-------

added a new test. the test is end-to-end so that future replacement of the actual logic won't
require a change.


Thanks,

Chi Zhang


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