Re: Review Request 34426: Report per-container metrics for network bandwidth throttling

2015-06-03 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34426/ --- (Updated June 3, 2015, 7:36 p.m.) Review request for mesos, Chi Zhang, Ian

Re: Review Request 34863: Add tests for new qdisc statistics functions.

2015-06-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34863/#review86474 --- Patch looks great! Reviews applied: [34832, 34426, 34863] All

Re: Review Request 34687: (De)Serializing MasterInfo PB to JSON

2015-06-03 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34687/#review86453 --- Looking much better! :) A few suggestions below and let's get this

Re: Review Request 32757: [5/5] Added a memory statistics test for writeback.

2015-06-03 Thread Chi Zhang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32757/ --- (Updated June 3, 2015, 11:05 p.m.) Review request for mesos, Ian Downes and

Re: Review Request 35038: Updated slave to query resource estimator whenever it wants to forward an update.

2015-06-03 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35038/#review86518 --- LGTM modulo Jie's comment on the hard check - Niklas Nielsen On

Re: Review Request 35033: Define potentially missing MS_* mount flags.

2015-06-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35033/#review86528 --- Patch looks great! Reviews applied: [35033] All tests passed. -

Re: Review Request 34980: Pass callback to the resource estimator to retrieve ResourceUsage from resource monitor on demand.

2015-06-03 Thread Bartek Plotka
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34980/ --- (Updated June 3, 2015, 9:16 p.m.) Review request for mesos, Jie Yu, Niklas

Re: Review Request 34980: Pass callback to the resource estimator to retrieve ResourceUsage from resource monitor on demand.

2015-06-03 Thread Bartek Plotka
On June 3, 2015, 9:06 p.m., Niklas Nielsen wrote: Do you want to add a test to verify that this works? :) Definitely will do that in next patch (: - Bartek --- This is an automatically generated e-mail. To reply, visit:

Re: Review Request 34633: Added QoS Controller test.

2015-06-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34633/#review86508 --- Ship it! src/tests/oversubscription_tests.cpp

Re: Review Request 34631: Added QoS Controller.

2015-06-03 Thread Bartek Plotka
On June 3, 2015, 5:54 p.m., Bartek Plotka wrote: include/mesos/slave/qos_controller.hpp, line 52 https://reviews.apache.org/r/34631/diff/3/?file=977207#file977207line52 Small thing: s/type/name/ ..to be consistent with allocator factory. (: What is the reason of

Re: Review Request 34687: (De)Serializing MasterInfo PB to JSON

2015-06-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34687/#review86482 --- Patch looks great! Reviews applied: [34687] All tests passed. -

Re: Review Request 34318: Update callers of os::getenv() in libprocess.

2015-06-03 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34318/#review86487 --- Ship it! Ship It! - Timothy Chen On May 25, 2015, 4:36 p.m.,

Review Request 35033: Define potentially missing MS_* mount flags.

2015-06-03 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35033/ --- Review request for mesos, Jie Yu and Vinod Kone. Repository: mesos

Re: Review Request 34980: Pass callback to the resource estimator to retrieve ResourceUsage from resource monitor on demand.

2015-06-03 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34980/#review86497 --- src/slave/resource_estimators/noop.cpp

Re: Review Request 32755: [3/5] Added a memory statistics test for memory-mapped file.

2015-06-03 Thread Chi Zhang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32755/ --- (Updated June 3, 2015, 11 p.m.) Review request for mesos, Ian Downes and Jie

Review Request 35037: Added doxygen link to home.md.

2015-06-03 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35037/ --- Review request for mesos and Ben Mahler. Repository: mesos Description

Re: Review Request 34631: Added QoS Controller.

2015-06-03 Thread Niklas Nielsen
On June 3, 2015, 10:54 a.m., Bartek Plotka wrote: include/mesos/slave/qos_controller.hpp, line 52 https://reviews.apache.org/r/34631/diff/3/?file=977207#file977207line52 Small thing: s/type/name/ ..to be consistent with allocator factory. (: What is the reason of

Review Request 35024: Fixed _resources_used() to include only *regular* resources.

2015-06-03 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35024/ --- Review request for mesos and Vinod Kone. Bugs: MESOS-2776

Re: Review Request 34863: Add tests for new qdisc statistics functions.

2015-06-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34863/#review86494 --- Ship it! Ship It! - Jie Yu On June 3, 2015, 9:20 p.m., Paul

Re: Review Request 32755: [3/5] Added a memory statistics test for memory-mapped file.

2015-06-03 Thread Chi Zhang
On April 8, 2015, 6:44 p.m., Ian Downes wrote: src/tests/memory_test_helper.cpp, lines 191-194 https://reviews.apache.org/r/32755/diff/1/?file=913063#file913063line191 What happens to this test if /tmp is a tmpfs? Do the cache pages get accounted differently Tested with /tmp

Re: Review Request 32754: [2/5] Added a memory statistics test for page cache.

2015-06-03 Thread Chi Zhang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32754/ --- (Updated June 3, 2015, 10:59 p.m.) Review request for mesos, Ian Downes and

Re: Review Request 35024: Fixed _resources_used() to include only *regular* resources.

2015-06-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35024/#review86505 --- Ship it! Ship It! - Vinod Kone On June 3, 2015, 10:08 p.m.,

Re: Review Request 34317: Updated callers of os::getenv() in /src and removed calls to os::hasenv()

2015-06-03 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34317/#review86506 --- Greg can you rebase your patches on latest master and update the

Re: Review Request 35028: Added a fixed resource estimator.

2015-06-03 Thread Jie Yu
On June 3, 2015, 11:30 p.m., Vinod Kone wrote: src/slave/resource_estimators/fixed.cpp, line 47 https://reviews.apache.org/r/35028/diff/1/?file=977721#file977721line47 Since the slave now asks the estimator everytime it wants to forward an update and doesn't store a cached value,

Re: Review Request 34980: Pass callback to the resource estimator to retrieve ResourceUsage from resource monitor on demand.

2015-06-03 Thread Bartek Plotka
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34980/ --- (Updated June 4, 2015, 12:08 a.m.) Review request for mesos, Jie Yu, Niklas

Re: Review Request 35038: Updated slave to query resource estimator whenever it wants to forward an update.

2015-06-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35038/#review86514 --- Ship it! src/slave/slave.cpp

Re: Review Request 35033: Define potentially missing MS_* mount flags.

2015-06-03 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35033/ --- (Updated June 3, 2015, 3:53 p.m.) Review request for mesos, Jie Yu and Vinod

Re: Review Request 34894: Add new message for Traffic Control statistics

2015-06-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34894/#review86503 --- Patch looks great! Reviews applied: [34894] All tests passed. -

Re: Review Request 32757: [5/5] Added a memory statistics test for writeback.

2015-06-03 Thread Chi Zhang
On April 8, 2015, 6:44 p.m., Ian Downes wrote: src/tests/memory_test_helper.cpp, lines 297-300 https://reviews.apache.org/r/32757/diff/1/?file=913069#file913069line297 What happens to this test if /tmp is a tmpfs? Yeah, with /tmp mounted as tmpfs, 'writeback' is 0. To account for

Re: Review Request 35028: Added a fixed resource estimator.

2015-06-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35028/#review86507 --- src/slave/resource_estimators/fixed.cpp

Re: Review Request 34426: Report per-container metrics for network bandwidth throttling

2015-06-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34426/#review86493 --- Ship it! src/linux/routing/queueing/internal.hpp

Re: Review Request 34631: Added QoS Controller.

2015-06-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34631/#review86499 --- Ship it! include/mesos/slave/qos_controller.hpp

Re: Review Request 32756: [4/5] Added a memory statistics test for active anonymous memory.

2015-06-03 Thread Chi Zhang
On April 8, 2015, 6:44 p.m., Ian Downes wrote: src/tests/memory_test_helper.hpp, lines 69-70 https://reviews.apache.org/r/32756/diff/1/?file=913065#file913065line69 How does this tie into the timing loop above in the test? Do we know within what time the kernel will mark pages

Re: Review Request 35028: Added a fixed resource estimator.

2015-06-03 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35028/#review86502 --- LGTM :) src/Makefile.am

Re: Review Request 34980: Pass callback to the resource estimator to retrieve ResourceUsage from resource monitor on demand.

2015-06-03 Thread Bartek Plotka
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34980/ --- (Updated June 3, 2015, 10:21 p.m.) Review request for mesos, Jie Yu, Niklas

Re: Review Request 35033: Define potentially missing MS_* mount flags.

2015-06-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35033/#review86498 --- Ship it! Ship It! - Jie Yu On June 3, 2015, 10:53 p.m., Ian

Re: Review Request 34632: Added QoS Controller in slave

2015-06-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34632/#review86501 --- LGTM overall. Just one place (regarding the time when we start to

Re: Review Request 35038: Updated slave to query resource estimator whenever it wants to forward an update.

2015-06-03 Thread Jie Yu
On June 3, 2015, 11:44 p.m., Jie Yu wrote: Also, could you please adjust the comments above the public resource estimator 'oversubscribable()' interface since we incur a minimal interval in the slave? - Jie --- This is an

Re: Review Request 34980: Pass callback to the resource estimator to retrieve ResourceUsage from resource monitor on demand.

2015-06-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34980/#review86366 --- Patch looks great! Reviews applied: [34962, 34980] All tests

Re: Review Request 33824: Stub for the new HTTP API in the slave

2015-06-03 Thread Alexander Rojas
On June 3, 2015, 4:38 a.m., Marco Massenzio wrote: Hi Alex - I noticed the new 'code drop' but none of the comments were addressed in the new diff: is something missing? Thanks! The code drop was just a rebasing, I'm slowly getting to all my old patches. - Alexander

Review Request 34984: Added help for files

2015-06-03 Thread Aditi Dixit
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34984/ --- Review request for mesos, Niklas Nielsen and Vinod Kone. Bugs: MESOS-2277

Re: Review Request 34976: Added installation instructions for Ubuntu 14.04 and OSX

2015-06-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34976/#review86379 --- Patch looks great! Reviews applied: [34976] All tests passed. -

Re: Review Request 34976: Added installation instructions for Ubuntu 14.04 and OSX

2015-06-03 Thread Marco Massenzio
On June 3, 2015, 5:29 a.m., Adam B wrote: docs/getting-started.md, line 24 https://reviews.apache.org/r/34976/diff/1/?file=977149#file977149line24 Can you merge this in with the Ubuntu 12.04 instructions below? I don't think they're drastically different, and we can probably

Re: Review Request 34984: Added help for files

2015-06-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34984/#review86374 --- Patch looks great! Reviews applied: [34984] All tests passed. -

Re: Review Request 34633: Added QoS Controller test.

2015-06-03 Thread Vinod Kone
On May 29, 2015, 7:23 p.m., Vinod Kone wrote: src/tests/oversubscription_tests.cpp, line 117 https://reviews.apache.org/r/34633/diff/1/?file=970999#file970999line117 Why not implement the TODO? s/AWAIT_READY(received)/AWAIT_ASSERT_EQ(expected, received)/ ? Niklas

Re: Review Request 32360: Refactor Mutex to use synchronized.

2015-06-03 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32360/ --- (Updated June 3, 2015, 5:16 p.m.) Review request for mesos, Benjamin Hindman

Re: Review Request 34534: Reflected in documentation that isolators are only relevant for Mesos Containerizer.

2015-06-03 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34534/#review86433 --- docs/configuration.md

Review Request 35012: Move synchronized.hpp into stout.

2015-06-03 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35012/ --- Review request for mesos, Benjamin Hindman and Bernd Mathiske. Bugs:

Re: Review Request 32364: Refactor http to use synchronized.

2015-06-03 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32364/ --- (Updated June 3, 2015, 5:19 p.m.) Review request for mesos, Benjamin Hindman

Re: Review Request 35000: Doxygen'ized Subprocess.

2015-06-03 Thread Joerg Schad
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35000/#review86404 --- 3rdparty/libprocess/include/process/subprocess.hpp

Re: Review Request 32356: Refactor synchronized to use mutex, recursive_mutex, atomic_flag.

2015-06-03 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32356/ --- (Updated June 3, 2015, 5:11 p.m.) Review request for mesos, Benjamin Hindman

Re: Review Request 34426: Report per-container metrics for network bandwidth throttling

2015-06-03 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34426/ --- (Updated June 4, 2015, 1:19 a.m.) Review request for mesos, Chi Zhang, Ian

Re: Review Request 34631: Added QoS Controller.

2015-06-03 Thread Niklas Nielsen
On June 3, 2015, 10:54 a.m., Bartek Plotka wrote: include/mesos/slave/qos_controller.hpp, line 52 https://reviews.apache.org/r/34631/diff/3/?file=977207#file977207line52 Small thing: s/type/name/ ..to be consistent with allocator factory. (: What is the reason of

Re: Review Request 34832: Add new qdisc tests

2015-06-03 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34832/ --- (Updated June 3, 2015, 6:25 p.m.) Review request for mesos, Chi Zhang, Ian

Re: Review Request 34832: Add new qdisc tests

2015-06-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34832/#review86458 --- Ship it! src/tests/routing_tests.cpp

Re: Review Request 34426: Report per-container metrics for network bandwidth throttling

2015-06-03 Thread Paul Brett
On June 3, 2015, 10:35 p.m., Jie Yu wrote: src/linux/routing/queueing/internal.hpp, line 320 https://reviews.apache.org/r/34426/diff/11/?file=977689#file977689line320 Why =? The definition for RTNL_TC_STATS_MAX comes from libnl and looks like this: enum rtnl_tc_stat {

Re: Review Request 34534: Reflected in documentation that isolators are only relevant for Mesos Containerizer.

2015-06-03 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34534/#review86440 --- Ship it! Ship It! - Timothy Chen On June 3, 2015, 5:23 p.m.,

Re: Review Request 34980: Pass callback to the resource estimator to retrieve ResourceUsage from resource monitor on demand.

2015-06-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34980/#review86441 --- src/slave/slave.cpp

Re: Review Request 34631: Added QoS Controller.

2015-06-03 Thread Bartek Plotka
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34631/#review86447 --- include/mesos/slave/qos_controller.hpp

Re: Review Request 34910: Added task validation for task using revocable resources while its executor does not.

2015-06-03 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34910/#review86449 --- Can we make the test a unit test? Looks like we could pull up

Re: Review Request 33241: docs: Add documentation on observability metrics.

2015-06-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33241/#review86442 --- docs/home.md https://reviews.apache.org/r/33241/#comment138454