Re: Review Request 29727: Style fixes in recent patch for service discovery info.

2015-02-03 Thread Michael Park
On Feb. 4, 2015, 1:36 a.m., switched to 'mcypark' wrote: src/tests/master_tests.cpp, line 2880 https://reviews.apache.org/r/29727/diff/3/?file=846895#file846895line2880 style nit: should be indented 4 spaces here Sorry for the mess regarding switched to 'mcypark' above, I messed up

Review Request 30579: Added a missing newline in the command executor output.

2015-02-03 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30579/ --- Review request for mesos, Alexander Rukletsov and Niklas Nielsen. Summary

Re: Review Request 27760: Revised authenticator interface to allow for two fold implementations.

2015-02-03 Thread Adam B
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27760/#review70863 --- src/authentication/cram_md5/authenticator.hpp

Review Request 30580: Updated the graceful shutdown documentation and naming.

2015-02-03 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30580/ --- Review request for mesos, Alexander Rukletsov, Niklas Nielsen, and Vinod Kone.

Review Request 30596: Updated the slave to set the graceful shutdown for the command executor.

2015-02-03 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30596/ --- Review request for mesos, Alexander Rukletsov, Niklas Nielsen, and Vinod Kone.

Review Request 30583: Fixed MESOS_RECOVERY_TIMEOUT to be based on the flag value.

2015-02-03 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30583/ --- Review request for mesos, Alexander Rukletsov, Niklas Nielsen, and Vinod Kone.

Review Request 30597: Fixed the executor driver and command executor to read the graceful shutdown time.

2015-02-03 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30597/ --- Review request for mesos, Alexander Rukletsov, Niklas Nielsen, and Vinod Kone.

Review Request 30595: Fixed the slave to set up the executor shutdown timeout based on the ExecutorInfo.

2015-02-03 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30595/ --- Review request for mesos, Alexander Rukletsov, Niklas Nielsen, and Vinod Kone.

Re: When does scheduler driver send the LaunchTasksMessage

2015-02-03 Thread Adam Bordelon
Also note that any unused resources from an offer passed to LaunchTasks will be automatically declined (and potentially reoffered with a new offerId). Thus, you cannot do LaunchTasks(task1, offer1); LaunchTasks(task2, offer1); since the remainder of offer1 will have been declined and any future

Re: Review Request 29727: Style fixes in recent patch for service discovery info.

2015-02-03 Thread Adam B
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29727/#review70901 --- Ship it! Ship It! - Adam B On Feb. 3, 2015, 5:30 p.m., Christos

Re: Review Request 30513: Added validation for CREATE offer operation.

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

Re: Review Request 30579: Added a missing newline in the command executor output.

2015-02-03 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30579/#review70917 --- Ship it! src/launcher/executor.cpp

Re: Review Request 29727: Style fixes in recent patch for service discovery info.

2015-02-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29727/#review70920 --- Bad patch! Reviews applied: [29727] Failed command:

Re: Review Request 30601: Updated slave to use Executor/Task grace period, with a maximum.

2015-02-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30601/#review70922 --- Patch looks great! Reviews applied: [30579, 30580, 30583, 30595,

Re: When does scheduler driver send the LaunchTasksMessage

2015-02-03 Thread Chengwei Yang
On Tue, Feb 03, 2015 at 05:52:48PM -0800, Adam Bordelon wrote: Also note that any unused resources from an offer passed to LaunchTasks will be automatically declined (and potentially reoffered with a new offerId). Thus, you cannot do LaunchTasks(task1, offer1); LaunchTasks(task2, offer1);

Re: Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30584/#review70919 --- Patch looks great! Reviews applied: [30511, 30514, 30584] All

Review Request 30606: Added net::contentLength() to query content-length field from HTTP header.

2015-02-03 Thread Bernd Mathiske
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30606/ --- Review request for mesos, Adam B, Benjamin Hindman, Till Toenshoff, and Timothy

Re: Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30584/ --- (Updated Feb. 4, 2015, 1:57 a.m.) Review request for mesos, Ben Mahler and Jie

Re: When does scheduler driver send the LaunchTasksMessage

2015-02-03 Thread Chengwei Yang
On Tue, Feb 03, 2015 at 05:21:55PM -0800, Vinod Kone wrote: On Tue, Feb 3, 2015 at 5:46 AM, Chengwei Yang chengwei.yang...@gmail.com wrote: As we can see, mesos-master send offer to chronos at 18:32:33, but received all 4 decline message (LaunchTasksMessage) at 18:33.03, we

Re: Review Request 30606: Added net::contentLength() to query content-length field from HTTP header.

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

When does scheduler driver send the LaunchTasksMessage

2015-02-03 Thread Chengwei Yang
master.cpp:2939] Sending 3 offers to framework 20150203-174243-2487817994-5050-10996- I0203 18:32:39.523227 7670 http.cpp:452] HTTP request for '/master/state.json' I0203 18:32:49.601284 7674 http.cpp:452] HTTP request for '/master/state.json' I0203 18:32:59.677875 7677 http.cpp:452] HTTP request

Re: When does scheduler driver send the LaunchTasksMessage

2015-02-03 Thread Adam Bordelon
. ---8--- I0203 18:32:33.169342 7680 master.cpp:2939] Sending 3 offers to framework 20150203-174243-2487817994-5050-10996- I0203 18:32:39.523227 7670 http.cpp:452] HTTP request for '/master/state.json' I0203 18:32:49.601284 7674 http.cpp:452] HTTP request

Re: Review Request 27760: Revised authenticator interface to allow for two fold implementations.

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

Re: Review Request 30546: MemIsolator: expose memory pressures for containers.

2015-02-03 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30546/#review70779 --- Another high level review because I think there are important

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

2015-02-03 Thread David Robinson
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30514/#review70768 --- src/master/flags.hpp

Re: Review Request 30459: Refactored task/offer/resource valiation in master.

2015-02-03 Thread Jie Yu
On Jan. 30, 2015, 10:32 p.m., Dominic Hamon wrote: src/master/master.hpp, line 518 https://reviews.apache.org/r/30459/diff/2/?file=842079#file842079line518 const Offer* ? I'll add a TODO. Right now, I need to change a bunch of funcitons to make it const. - Jie

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

2015-02-03 Thread Vinod Kone
On Feb. 3, 2015, 6:09 p.m., David Robinson wrote: src/master/flags.hpp, line 152 https://reviews.apache.org/r/30514/diff/2/?file=844914#file844914line152 Should this be slaves pre minute? I imagine most clusters in the wild would be relatively small, and the smaller the cluster

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

2015-02-03 Thread Vinod Kone
On Feb. 3, 2015, 6:25 p.m., Jie Yu wrote: src/tests/slave_tests.cpp, line 1232 https://reviews.apache.org/r/30514/diff/2/?file=844918#file844918line1232 Kill process:: prefix by using namespace process? done - Vinod ---

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30514/ --- (Updated Feb. 3, 2015, 6:42 p.m.) Review request for mesos, Ben Mahler, David

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

2015-02-03 Thread Vinod Kone
On Feb. 3, 2015, 6:16 p.m., Jie Yu wrote: src/master/flags.hpp, line 152 https://reviews.apache.org/r/30514/diff/2/?file=844914#file844914line152 Good point. I am wondering should we introduce a Rate abstraction in stout: ``` Rate rate1(3, Minites(3));

Re: Review Request 30545: cgroups: added support to listen on memory pressures.

2015-02-03 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30545/#review70786 --- This is high level review about the interface and architecture

Re: Review Request 30545: cgroups: added support to listen on memory pressures.

2015-02-03 Thread Dominic Hamon
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30545/#review70772 --- src/linux/cgroups.hpp

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

2015-02-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30514/#review70776 --- Ship it! src/master/master.cpp

Re: Review Request 30546: MemIsolator: expose memory pressures for containers.

2015-02-03 Thread Dominic Hamon
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30546/#review70774 --- include/mesos/mesos.proto

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

2015-02-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30514/#review70775 --- src/master/flags.hpp

Re: Review Request 30511: Moved framework related rate limiters into Master::Frameworks.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30511/ --- (Updated Feb. 3, 2015, 6:28 p.m.) Review request for mesos, Ben Mahler and

Re: Review Request 30511: Moved framework related rate limiters into Master::Frameworks.

2015-02-03 Thread Jiang Yan Xu
On Feb. 2, 2015, 6:10 p.m., Ben Mahler wrote: I recall Yan and I discussed improving the BoundedRateLimiter abstraction to provide a interface that returns failed futures when the bound is reached, but I don't think we documented it or the implications of such a change. Mind

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

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

Re: Review Request 25735: change const pass-by-value to const reference in stout

2015-02-03 Thread Niklas Nielsen
On Oct. 29, 2014, 3:57 p.m., Michael Park wrote: We can't make these `const-ref` unfortunately because the second argument of `va_start` cannot be a reference type. N3797: 18.10 Other runtime support [support.runtime] The restrictions that ISO C places on the second parameter to

Re: Review Request 25551: Add standard versioning to shared libmesos.so

2015-02-03 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25551/#review70843 --- Ping - tstclair: did you resolve the last of Vinod's issue -

Re: Review Request 29329: Add executor for docker containerizer

2015-02-03 Thread Bill Farner
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29329/#review70849 --- Is there a shortcoming in the executor API that prevents this from

Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30584/ --- Review request for mesos, Ben Mahler and Jie Yu. Bugs: MESOS-1148

Re: Review Request 29742: Added useful utility functions to determine types of resources.

2015-02-03 Thread Michael Park
On Feb. 3, 2015, 8:19 p.m., Vinod Kone wrote: include/mesos/resources.hpp, line 92 https://reviews.apache.org/r/29742/diff/4/?file=839661#file839661line92 We didn't do isempty above, so how about getting rid of is as prefix? I think returning a bool signals a is. Hm, that's a

Re: Review Request 30513: Added validation for CREATE offer operation.

2015-02-03 Thread Jie Yu
On Feb. 2, 2015, 6:43 p.m., Dominic Hamon wrote: src/master/validation.cpp, line 126 https://reviews.apache.org/r/30513/diff/1/?file=843897#file843897line126 s/resource/volumes/ .. the current code reads as if you're checking that all resources are persistent volumes, which

Re: Review Request 30513: Added validation for CREATE offer operation.

2015-02-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30513/ --- (Updated Feb. 3, 2015, 11:15 p.m.) Review request for mesos, Ben Mahler,

Re: Review Request 29329: Add executor for docker containerizer

2015-02-03 Thread Timothy Chen
On Feb. 3, 2015, 11:23 p.m., Bill Farner wrote: Is there a shortcoming in the executor API that prevents this from being an independent binary? Hi Bill, this is going to be a binary on itself just like command exexutor. Do you have something else in mind? - Timothy

Re: Review Request 29595: Link against libpthread.

2015-02-03 Thread Cody Maloney
On Jan. 23, 2015, 10:42 p.m., Timothy St. Clair wrote: configure.ac, line 260 https://reviews.apache.org/r/29595/diff/3/?file=819045#file819045line260 Do you have system details? Could you provide ldd and version of the system in question. Kapil Arya wrote:

Re: Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30584/#review70842 --- Bad patch! Reviews applied: [30511] Failed command:

Re: Review Request 30513: Added validation for CREATE offer operation.

2015-02-03 Thread Jie Yu
On Feb. 3, 2015, 8:15 p.m., Vinod Kone wrote: src/master/validation.cpp, line 132 https://reviews.apache.org/r/30513/diff/1/?file=843897#file843897line132 ditto. It's clear that resource.name() is 'disk' in this case. - Jie

Re: Review Request 30513: Added validation for CREATE offer operation.

2015-02-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30513/ --- (Updated Feb. 3, 2015, 11:19 p.m.) Review request for mesos, Ben Mahler,

Re: Review Request 30513: Added validation for CREATE offer operation.

2015-02-03 Thread Jie Yu
On Feb. 3, 2015, 8:15 p.m., Vinod Kone wrote: Test? Added/refactored tests. - Jie --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30513/#review70815

Re: Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30584/#review70855 --- src/master/master.cpp

Re: Review Request 30513: Added validation for CREATE offer operation.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30513/#review70815 --- Test? src/master/validation.cpp

Re: Review Request 30513: Added validation for CREATE offer operation.

2015-02-03 Thread Vinod Kone
On Feb. 2, 2015, 6:43 p.m., Dominic Hamon wrote: src/master/validation.cpp, line 544 https://reviews.apache.org/r/30513/diff/1/?file=843897#file843897line544 if this is all you need, can you pass in the persisted resources instead of a slave? might make future testing easier. +1

Re: Review Request 29742: Added useful utility functions to determine types of resources.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29742/#review70817 --- Ship it! include/mesos/resources.hpp

Re: Review Request 27760: Revised authenticator interface to allow for two fold implementations.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27760/#review70822 --- src/authentication/authenticator.hpp

Re: Review Request 27760: Revised authenticator interface to allow for two fold implementations.

2015-02-03 Thread Till Toenshoff
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27760/ --- (Updated Feb. 3, 2015, 11:05 a.m.) Review request for mesos, Adam B, Kapil

Re: Review Request 30195: Remove per-flag parsing of file:// arguments

2015-02-03 Thread Cody Maloney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30195/ --- (Updated Feb. 4, 2015, midnight) Review request for mesos, Benjamin Hindman

Review Request 30589: etcd master contender + detector

2015-02-03 Thread Cody Maloney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30589/ --- Review request for mesos and Benjamin Hindman. Bugs: MESOS-1806

Review Request 30591: Specify replicated log machines to coordinate with at the command line

2015-02-03 Thread Cody Maloney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30591/ --- Review request for mesos and Benjamin Hindman. Bugs: MESOS-1806

Review Request 30592: Etcd integration test

2015-02-03 Thread Cody Maloney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30592/ --- Review request for mesos and Benjamin Hindman. Bugs: MESOS-1806

Re: Review Request 30014: Enable the slave garbage collector to take the number of links into account.

2015-02-03 Thread Ritwik Yadav
On Jan. 22, 2015, 10:20 p.m., Mesos ReviewBot wrote: Patch looks great! Reviews applied: [30015, 30014] All tests passed. I was wondering if this review request was discarded? If yes, what would be a good alternate solution to the problem at hand? - Ritwik

Re: Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30584/ --- (Updated Feb. 4, 2015, 12:24 a.m.) Review request for mesos, Ben Mahler and

Re: Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Vinod Kone
On Feb. 3, 2015, 11:37 p.m., Jie Yu wrote: src/master/master.cpp, line 3908 https://reviews.apache.org/r/30584/diff/1/?file=846680#file846680line3908 This doesn't seem to necessary since we have master/slave_removals already (which will be incremented in removeSlave(slave)

Re: Review Request 30511: Moved framework related rate limiters into Master::Frameworks.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30511/ --- (Updated Feb. 4, 2015, 12:30 a.m.) Review request for mesos, Ben Mahler and

Re: Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Jie Yu
On Feb. 3, 2015, 11:37 p.m., Jie Yu wrote: src/master/master.cpp, line 3908 https://reviews.apache.org/r/30584/diff/1/?file=846680#file846680line3908 This doesn't seem to necessary since we have master/slave_removals already (which will be incremented in removeSlave(slave)

Re: When does scheduler driver send the LaunchTasksMessage

2015-02-03 Thread Chengwei Yang
/master/master.cpp to print some log whenever received a LaunchTasksMessage, see below log. ---8--- I0203 18:32:33.169342  7680 master.cpp:2939] Sending 3 offers to framework 20150203-174243-2487817994-5050-10996- I0203 18:32:39.523227  7670

Re: Review Request 30386: Added support for CREATE operation in master.

2015-02-03 Thread Jie Yu
On Jan. 29, 2015, 6:49 p.m., Ben Mahler wrote: src/master/master.cpp, lines 1342-1353 https://reviews.apache.org/r/30386/diff/1/?file=839423#file839423line1342 Nice :) Do you need to pass the slave here? Can you remove it for now? Killed. - Jie

Re: Review Request 29329: Add executor for docker containerizer

2015-02-03 Thread Ben Mahler
On Jan. 17, 2015, 1:39 a.m., Ben Mahler wrote: How are we going to manage the duplication across the command executor and the docker executor? Timothy Chen wrote: I think I'm going to leave them seperate as they most likely will grow independent in tangent. The docker

Re: Review Request 26275: MESOS-444: Remove --checkpoint flag

2015-02-03 Thread Adam B
On Jan. 20, 2015, 11:05 a.m., Niklas Nielsen wrote: Is this good to go? If so - let's get it in :) I can commit if you don't have time Committed. - Adam --- This is an automatically generated e-mail. To reply, visit:

Re: Review Request 30513: Added validation for CREATE offer operation.

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

Review Request 30587: Additional logging in libprocess

2015-02-03 Thread Cody Maloney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30587/ --- Review request for mesos and Benjamin Hindman. Bugs: MESOS-1806

Re: Review Request 30394: etcd api wrapper

2015-02-03 Thread Cody Maloney
On Jan. 29, 2015, 3:40 p.m., Alexander Rukletsov wrote: src/etcd/url.hpp, line 23 https://reviews.apache.org/r/30394/diff/1/?file=839637#file839637line23 `#include iostream` or, what I would prefer `#include iosfwd` and move `operator` definitions into `url.cpp`

Review Request 30588: etcd api wrapper

2015-02-03 Thread Cody Maloney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30588/ --- Review request for mesos. Bugs: MESOS-1806

Re: Review Request 30394: etcd api wrapper

2015-02-03 Thread Cody Maloney
On Jan. 29, 2015, 4:08 p.m., Alexander Rukletsov wrote: src/etcd/etcd.cpp, line 43 https://reviews.apache.org/r/30394/diff/1/?file=839636#file839636line43 What is `::URL`? It was stout/url which lives in the global namespace and conflicts in resolution with etcd::URL which is why

Review Request 30590: Add --etcd to match --zk.

2015-02-03 Thread Cody Maloney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30590/ --- Review request for mesos and Benjamin Hindman. Bugs: MESOS-1806

Re: Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30584/ --- (Updated Feb. 4, 2015, 12:31 a.m.) Review request for mesos, Ben Mahler and

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30514/ --- (Updated Feb. 4, 2015, 12:31 a.m.) Review request for mesos, Ben Mahler, David

Re: Review Request 30592: Etcd integration test

2015-02-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30592/#review70876 --- Bad patch! Reviews applied: [30194, 30195] Failed command:

Re: Review Request 29727: Style fixes in recent patch for service discovery info.

2015-02-03 Thread Christos Kozyrakis
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29727/ --- (Updated Feb. 3, 2015, 4:39 p.m.) Review request for mesos, Adam B, Benjamin

Re: Review Request 29727: Style fixes in recent patch for service discovery info.

2015-02-03 Thread Adam B
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29727/#review70878 --- src/tests/master_tests.cpp

Re: Review Request 30386: Added support for CREATE operation in master.

2015-02-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30386/ --- (Updated Feb. 4, 2015, 1:09 a.m.) Review request for mesos, Ben Mahler,

Re: Review Request 30545: cgroups: added support to listen on memory pressures.

2015-02-03 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30545/#review70719 --- src/linux/cgroups.hpp

Re: Review Request 30545: cgroups: added support to listen on memory pressures.

2015-02-03 Thread Timothy Chen
On Feb. 3, 2015, 9:06 a.m., Nikita Vetoshkin wrote: src/linux/cgroups.cpp, line 2345 https://reviews.apache.org/r/30545/diff/1/?file=845002#file845002line2345 Wouldn't `new` throw instead of returning null? I believe it will throw bad_alloc, the check is unnecessary. - Timothy

Re: Review Request 30513: Added validation for CREATE offer operation.

2015-02-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30513/ --- (Updated Feb. 4, 2015, 1:10 a.m.) Review request for mesos, Ben Mahler,

Re: When does scheduler driver send the LaunchTasksMessage

2015-02-03 Thread Vinod Kone
On Tue, Feb 3, 2015 at 5:46 AM, Chengwei Yang chengwei.yang...@gmail.com wrote: As we can see, mesos-master send offer to chronos at 18:32:33, but received all 4 decline message (LaunchTasksMessage) at 18:33.03, we are very curious why the first decline doesn't sent before sleep 30 seconds?

Re: Review Request 29727: Style fixes in recent patch for service discovery info.

2015-02-03 Thread Christos Kozyrakis
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29727/ --- (Updated Feb. 3, 2015, 5:30 p.m.) Review request for mesos, Adam B, Benjamin

Re: Review Request 30531: Remove strings::format and unnecessary constants from paths

2015-02-03 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30531/#review70885 --- Can we seperate the tests changes in this patch? It is a good

Re: Review Request 30584: Added metrics for slave shutdowns.

2015-02-03 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30584/#review70888 --- Patch looks great! Reviews applied: [30511, 30514, 30584] All

Re: Review Request 29727: Style fixes in recent patch for service discovery info.

2015-02-03 Thread switched to 'mcypark'
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29727/#review70890 --- src/tests/master_tests.cpp

Re: Review Request 30514: Rate limited the removal of slaves failing health checks.

2015-02-03 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30514/ --- (Updated Feb. 4, 2015, 1:51 a.m.) Review request for mesos, Ben Mahler, David