Re: Review Request 44975: Updated cgroups test cases for cgroups device support.

2016-03-28 Thread Ben Mahler
and will get this committed shortly. - Ben Mahler On March 21, 2016, 6:14 a.m., Abhishek Dasgupta wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 43883: Added a metric for querying the number offer filters for a role.

2016-03-25 Thread Ben Mahler
verResources( allocation->frameworkId, agent.id(), allocation->resources.get(agent.id()).get(), offerFilter); ``` - Ben Mahler On March 24, 2016, 1:36 p.m., Benjamin Bannier wrote: > >

Review Request 45267: Fixed a memory leak in process::subprocess.

2016-03-23 Thread Ben Mahler
://issues.apache.org/jira/browse/MESOS-5021 Repository: mesos Description --- See summary. Diffs - 3rdparty/libprocess/src/subprocess.cpp 16c327db6fde1a1bac92d9e8f7cc80e57b028c1a Diff: https://reviews.apache.org/r/45267/diff/ Testing --- make check Thanks, Ben Mahler

Re: Review Request 44661: Deprecated the `docker_stop_timeout` flag.

2016-03-23 Thread Ben Mahler
/#comment187976> It is the executor's responsiblitity to enforce kill policies - Ben Mahler On March 23, 2016, 11:26 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit

Re: Review Request 44660: Used `KillPolicy` and shutdown grace period in docker executor.

2016-03-23 Thread Ben Mahler
out to impact the kill timeout since no shutdown is occuring, so that might surprise others and its worth saying why we do this. - Ben Mahler On March 23, 2016, 11:25 p.m., Alexander Rukletsov wrote: > > --- > This is an automati

Re: Review Request 44994: Added a test for executor shutdown grace period.

2016-03-23 Thread Ben Mahler
) <https://reviews.apache.org/r/44994/#comment187967> s/TimedOut/Timeout/ src/tests/slave_tests.cpp (lines 3308 - 3309) <https://reviews.apache.org/r/44994/#comment187968> AWAIT_EXPECT_EQ - Ben Mahler On March 23, 2016, 11:22 p.m., Alexander Ruk

Re: Review Request 44660: Used `KillPolicy` and shutdown grace period in docker executor.

2016-03-23 Thread Ben Mahler
p (line 631) <https://reviews.apache.org/r/44660/#comment186855> removing flags is also difficult :) - Ben Mahler On March 23, 2016, 11:25 p.m., Alexander Rukletsov wrote: > > --- &g

Re: Review Request 45242: Fixed invalid HTML in upgrades documentation.

2016-03-23 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45242/#review125127 --- Ship it! Ship It! - Ben Mahler On March 23, 2016, 7:52 p.m

Re: Review Request 45240: Fixed typo in comment.

2016-03-23 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45240/#review125125 --- Ship it! Ship It! - Ben Mahler On March 23, 2016, 7:50 p.m

Re: Review Request 45241: Fixed invalid HTML in monitoring documentation.

2016-03-23 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45241/#review125126 --- Ship it! Ship It! - Ben Mahler On March 23, 2016, 7:50 p.m

Re: Review Request 44994: Added a test for executor shutdown grace period.

2016-03-23 Thread Ben Mahler
> On March 18, 2016, 11:24 p.m., Ben Mahler wrote: > > src/tests/slave_tests.cpp, line 3264 > > <https://reviews.apache.org/r/44994/diff/2/?file=1306236#file1306236line3264> > > > > You don't need a settle here, AWAIT_READY will settle if the clock is

Re: Review Request 44854: Added validation for executor's shutdown grace period.

2016-03-23 Thread Ben Mahler
/master_validation_tests.cpp (lines 1175 - 1176) <https://reviews.apache.org/r/44854/#comment187833> Why the explicit detector? - Ben Mahler On March 22, 2016, 5:05 p.m., Alexander Rukletsov wrote: > > --- > This is a

Re: Review Request 45151: Updated FrameworkInfo::Capability::Type enum for upgradability.

2016-03-23 Thread Ben Mahler
d2ab6ed187ec0d0e5dbac92607b612bb55b1a682 Diff: https://reviews.apache.org/r/45151/diff/ Testing --- make check manually validated the upgrade / backwards compatibility of enum fields Thanks, Ben Mahler

Re: Review Request 43882: Added allocation metrics for allocation time.

2016-03-23 Thread Ben Mahler
I would have rather we did a consistent change across the tests, but not your fault, we can stick with agent here since this file seems to use it in many places. src/tests/hierarchical_allocator_tests.cpp (lines 2736 - 2737) <https://reviews.apache.org/r/43882/#comment187705> Try to

Re: Review Request 43879: Added allocator metrics for number of allocations made.

2016-03-22 Thread Ben Mahler
would be consistent with the comments I made on the previous patches. Also, why not use your allocations variable? s/0/allocations/ - Ben Mahler On March 21, 2016, 11:08 a.m., Benjamin Bannier wrote: > > --- &

Re: Review Request 43880: Added allocated metrics for total and allocated scalar resources.

2016-03-22 Thread Ben Mahler
{"allocator/mesos/resources/mem/offered_or_allocated", 0}, {"allocator/mesos/resources/disk/offered_or_allocated", 0}, }; metrics = Metrics(); EXPECT_TRUE(metrics.contains(expected)); } ``` - Ben Mahler On March 21, 2016, 11:08 a.m., Benjamin Bannier wrote: > >

Re: Review Request 43884: Added allocator metrics for used quotas.

2016-03-22 Thread Ben Mahler
esis src/master/allocator/mesos/metrics.cpp (line 103) <https://reviews.apache.org/r/43884/#comment187546> you can omit the 'allocator' here to use a deferred context where libprocess manages the execution, see here: https://github.

Re: Review Request 44851: Renamed an allocator metric.

2016-03-22 Thread Ben Mahler
> On March 22, 2016, 5:50 p.m., Ben Mahler wrote: > > The changelog update would be great as well here, I'll take care of that > > before committing. Thanks! I'll also update the existing test: ``` $ grep -R allocator/event_queue_dispatches src/tests src/tests/master

Re: Review Request 44852: Documented existing allocator metrics.

2016-03-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44852/#review124843 --- Ship it! Ship It! - Ben Mahler On March 18, 2016, 4:08 p.m

Re: Review Request 44851: Renamed an allocator metric.

2016-03-22 Thread Ben Mahler
well here, I'll take care of that before committing. Thanks! docs/upgrades.md (line 157) <https://reviews.apache.org/r/44851/#comment187527> Looks like this is missing the "-x" from your href above? - Ben Mahler On March 22, 2016, 5:32 p.m., B

Review Request 45151: Updated FrameworkInfo::Capability::Type enum for upgradability.

2016-03-22 Thread Ben Mahler
/ Testing --- make check manually validated the upgrade / backwards compatibility of enum fields Thanks, Ben Mahler

Re: Review Request 45134: Skip FetcherTest zip tests when `unzip` is uninstalled.

2016-03-21 Thread Ben Mahler
tps://reviews.apache.org/r/45134/#comment187343> Take a look at environment.cpp for our approach to test filtering, the "curl" filter is a good example: https://github.com/apache/mesos/blob/0.28.0/src/tests/environment.cpp#L229-L251 - Ben Mahler On March 22, 2016, 12:14 a.m., To

Re: Review Request 44911: Fix the issue related to --disable-optimize (MESOS-4621).

2016-03-20 Thread Ben Mahler
27;t we be focusing on [MESOS-2537](https://issues.apache.org/jira/browse/MESOS-2537)? - Ben Mahler On March 16, 2016, 5:44 p.m., Yong Tang wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https:

Re: Review Request 44379: Correctly parse perf stat format for non-vanilla 3.10 kernel.

2016-03-20 Thread Ben Mahler
org/r/44379/#comment186282> Hm.. this comment is really hard for me to understand, if OS vendors enhance the format, how did you know that they only use this particular format and not others? - Ben Mahler On March 10, 2016, 3:26 a.m., fan du

Re: Review Request 44654: Fixed hard-coded executor shutdown grace period in executor library.

2016-03-20 Thread Ben Mahler
> On March 15, 2016, 6:39 p.m., Ben Mahler wrote: > > src/exec/exec.cpp, line 113 > > <https://reviews.apache.org/r/44654/diff/4/?file=1299793#file1299793line113> > > > > If you'd like to add the `private` qualifier, why isn't `kill` left as &g

Re: Review Request 44850: Added missing include in allocator/mesos/hierarchical.hpp.

2016-03-20 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44850/#review124054 --- Ship it! Ship It! - Ben Mahler On March 15, 2016, 2:51 p.m

Re: Review Request 44654: Fixed hard-coded executor shutdown grace period in executor library.

2016-03-19 Thread Ben Mahler
tps://reviews.apache.org/r/44654/#comment186749> for backwards compatibility: ... - Ben Mahler On March 17, 2016, 11:30 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 43884: Added allocator metrics for used quotas.

2016-03-19 Thread Ben Mahler
> On March 17, 2016, 9:07 p.m., Ben Mahler wrote: > > docs/monitoring.md, lines 876-883 > > <https://reviews.apache.org/r/43884/diff/16/?file=1299847#file1299847line876> > > > > Thanks! How about: > > > > ``` > > >

Re: Review Request 44992: Reordered function declarations in `TestContainerizer`.

2016-03-19 Thread Ben Mahler
nted here, unless this isn't overriding the interface? Looks like this is just an implementation of the interface function, where it is already documented. - Ben Mahler On March 17, 2016, 11:47 p.m., Alexander Rukletsov wrote: > > ---

Re: Review Request 44653: Cleaned up formatting in command executor.

2016-03-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44653/#review124271 --- Ship it! Ship It! - Ben Mahler On March 17, 2016, 11:28 p.m

Re: Review Request 43884: Added allocator metrics for used quotas.

2016-03-19 Thread Ben Mahler
> On March 17, 2016, 9:07 p.m., Ben Mahler wrote: > > docs/monitoring.md, lines 876-883 > > <https://reviews.apache.org/r/43884/diff/16/?file=1299847#file1299847line876> > > > > Thanks! How about: > > > > ``` > > >

Re: Review Request 44912: Used the same fixture for all related tests.

2016-03-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44912/#review123911 --- Ship it! Ship It! - Ben Mahler On March 16, 2016, 3:47 p.m

Re: Review Request 44660: Used `KillPolicy` and shutdown grace period in docker executor.

2016-03-19 Thread Ben Mahler
> On March 15, 2016, 11:21 p.m., Ben Mahler wrote: > > src/docker/executor.cpp, lines 235-239 > > <https://reviews.apache.org/r/44660/diff/4/?file=1299829#file1299829line235> > > > > Ditto earlier comments. I would expect the buffer to be in addition to >

Re: Review Request 44654: Fixed hard-coded executor shutdown grace period in executor library.

2016-03-19 Thread Ben Mahler
> On March 18, 2016, 8:36 p.m., Ben Mahler wrote: > > s/executor library/executor driver/ - Ben --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44654/#rev

Re: Review Request 43884: Added allocator metrics for used quotas.

2016-03-19 Thread Ben Mahler
org/r/43884/#comment186406> s/metricKey/metric/ would be more consistent Is it possible to use the JSON contains helper here to make the test a bit easier to read? Any reason you avoided checking the values of these? ``` JSON::Object expected = { {"allocato

Re: Review Request 44651: Cleaned up formatting in executor library.

2016-03-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44651/#review124270 --- Ship it! Ship It! - Ben Mahler On March 17, 2016, 11:27 p.m

Re: Review Request 44852: Documented existing allocator metrics.

2016-03-19 Thread Ben Mahler
master/event_queue_dispatches Number of dispatches in the event queue Gauge ``` - Ben Mahler On March 15, 2016, 2:51 p.m., Benjamin Bannier wrote: > > --- > This is an automatically ge

Re: Review Request 44991: Enabled mocking on `TestContainerizer::destroy`.

2016-03-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44991/#review124293 --- Ship it! Ship It! - Ben Mahler On March 17, 2016, 11:46 p.m

Re: Review Request 44655: Made `shutdown_grace_period` configurable in `ExecutorInfo`.

2016-03-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44655/#review124289 --- Ship it! Ship It! - Ben Mahler On March 17, 2016, 11:33 p.m

Re: Review Request 44854: Added validation for executor's shutdown grace period.

2016-03-18 Thread Ben Mahler
. Ideally there could be a stateless validateExecutorInfo, in addition to the one that needs the master state. In the absence of this, you can write a test that spins up a framework and launches a task with a negative shutdown duration. - Ben Mahler On March 17, 2016, 11:34 p.m., Alexander

Re: Review Request 44851: Renamed an allocator metric.

2016-03-18 Thread Ben Mahler
tps://reviews.apache.org/r/44851/#comment186400> Can you clarify here what the deprecation cycle is? It would be helpful to say that the new one was added in 0.29.0. Could you also update the CHANGELOG with this deprecation and point users towards using the new metric name? - Ben

Re: Review Request 44657: Used `KillPolicy` and shutdown grace period in command executor.

2016-03-18 Thread Ben Mahler
tps://reviews.apache.org/r/44657/#comment186862> I added this TODO for killTask, can you help by clarifying that the shutdown arrives after a kill task? - Ben Mahler On March 18, 2016, 5:19 p.m., Alexander Rukletsov wrote: > > ---

Re: Review Request 45040: Added a test for task's kill policy.

2016-03-18 Thread Ben Mahler
t for the argument to arrive. In general we try to avoid SaveArg since it doesn't indicate when the value arrives. src/tests/slave_tests.cpp (line 3474) <https://reviews.apache.org/r/45040/#comment186836> Please sweep for s/.get()./->/ src/tests/slave_tests.cpp (line 34

Re: Review Request 44657: Used `KillPolicy` and shutdown grace period in command executor.

2016-03-18 Thread Ben Mahler
44657/#comment186844> Can you pull Seconds(1) down to the next line so that each component of the sum is on a separate line? - Ben Mahler On March 18, 2016, 5:19 p.m., Alexander Rukletsov wrote: > > --- > This is an automati

Re: Review Request 44657: Used `KillPolicy` and shutdown grace period in command executor.

2016-03-18 Thread Ben Mahler
> On March 15, 2016, 10:25 p.m., Ben Mahler wrote: > > src/launcher/executor.cpp, line 499 > > <https://reviews.apache.org/r/44657/diff/4/?file=1299823#file1299823line499> > > > > I'd expect that the buffer is in addition to dealing with the reap > &

Re: Review Request 44993: Updated `TestContainerizer` to support default actions.

2016-03-18 Thread Ben Mahler
hange, can you please provide context? - Ben Mahler On March 17, 2016, 11:47 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.a

Re: Review Request 44656: Introduced `KillPolicy` protobuf.

2016-03-18 Thread Ben Mahler
// shutdown more quickly by the agent, or failures / forcible // terminations may occur. ``` However, you already have a NOTE above, so I'd rather not call it out again here. - Ben Mahler On March 18, 2016, 5:14 p.m., Alexande

Re: Review Request 44707: Added validation for task's kill policy.

2016-03-18 Thread Ben Mahler
unit test within master_validation_tests.cpp. - Ben Mahler On March 15, 2016, 3:47 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 44655: Made `shutdown_grace_period` configurable in `ExecutorInfo`.

2016-03-18 Thread Ben Mahler
org/r/44655/#comment186822> Could we say `"must not assume that it will *always* be alloted the full grace period"` in all of these? - Ben Mahler On March 17, 2016, 11:33 p.m., Alexander Rukletsov wrote: > > --

Re: Review Request 44994: Added a test for executor shutdown grace period.

2016-03-18 Thread Ben Mahler
is is 2x the agent flag). ``` src/tests/slave_tests.cpp (lines 3353 - 3354) <https://reviews.apache.org/r/44994/#comment186806> Remember that we have the -> operator now :) src/tests/slave_tests.cpp (line 3357) <https://reviews.apache.org/r/44994/#comment186808> Why do yo

Re: Review Request 44854: Added validation for executor's shutdown grace period.

2016-03-18 Thread Ben Mahler
> On March 18, 2016, 9:33 p.m., Ben Mahler wrote: > > The change looks good but please add a test for this. > > > > Ideally there could be a stateless validateExecutorInfo, in addition to the > > one that needs the master state. In the absence of this, you can write

Re: Review Request 44660: Used `KillPolicy` and shutdown grace period in docker executor.

2016-03-18 Thread Ben Mahler
> On March 15, 2016, 11:21 p.m., Ben Mahler wrote: > > src/docker/executor.cpp, lines 657-663 > > <https://reviews.apache.org/r/44660/diff/4/?file=1299829#file1299829line657> > > > > Hm.. ideally we could ignore the docker stop flag if a kill policy was &

Re: Review Request 45039: Updated the scheduler `launchTasks()` comment.

2016-03-18 Thread Ben Mahler
esos.proto for a description of Filters). ``` - Ben Mahler On March 18, 2016, 5:13 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https:

Re: Review Request 44661: Deprecated the `docker_stop_timeout` flag.

2016-03-18 Thread Ben Mahler
> On March 19, 2016, 2:16 a.m., Ben Mahler wrote: > > Ok I misunderstood what the intent was here. Generally when we say > > "deprecated" we maintain the old behavior and we plan to remove the support > > in a future version. This doesn't maintain the old be

Re: Review Request 44707: Added validation for task's kill policy.

2016-03-18 Thread Ben Mahler
> On March 15, 2016, 8:35 p.m., Ben Mahler wrote: > > Could you add a corresponding test? Having it in the header should make > > this really easy :) > > Alexander Rukletsov wrote: > Sure, but I'll write a more complex test than just unit testing the &g

Re: Review Request 44854: Added validation for executor's shutdown grace period.

2016-03-18 Thread Ben Mahler
> On March 18, 2016, 9:33 p.m., Ben Mahler wrote: > > The change looks good but please add a test for this. > > > > Ideally there could be a stateless validateExecutorInfo, in addition to the > > one that needs the master state. In the absence of this, you can write

Re: Review Request 44661: Deprecated the `docker_stop_timeout` flag.

2016-03-18 Thread Ben Mahler
doesn't this break the existing users' expectations? It seems easier to do a clean break after the deprecation cycle. - Ben Mahler On March 18, 2016, 5:23 p.m., Alexander Rukletsov wrote: > > --- > This is an

Re: Review Request 44657: Used `KillPolicy` and shutdown grace period in command executor.

2016-03-18 Thread Ben Mahler
tps://reviews.apache.org/r/44657/#comment186857> can you do s/timeout/gracePeriod/ here? I still feel that this would be clearer if separated between killTask and shutdown, but I'm ok with this approach. - Ben Mahler On March 18, 2016, 5:19 p.m., Alexander Rukl

Re: Review Request 44832: Validate string when convert `Flags` to `hashmap`.

2016-03-15 Thread Ben Mahler
ringify(json.get()) + "'" " is not a valid string"); } map[key] = value.as().value; } ``` - Ben Mahler On March 15, 2016, 3:52 a.m., haosdent huang wrote: > > --- >

Re: Review Request 44662: Added kill policies and shutdown grace period to the CHANGELOG.

2016-03-15 Thread Ben Mahler
In the future, we may allow more policy to be specified (e.g. htting an HTTP endpoint, running a command, etc). CHANGELOG (lines 9 - 12) <https://reviews.apache.org/r/44662/#comment186056> Also best-effort, worth mentioning that and why that it must not be relied on for correctness.

Re: Review Request 44709: Allowed unknown flags in command and docker executors.

2016-03-15 Thread Ben Mahler
.org/r/44709/ > --- > > (Updated March 15, 2016, 4:09 p.m.) > > > Review request for mesos and Ben Mahler. > > > Repository: mesos > > > Description > --- > > We allow unknown flags to ensure that when a new flag is added > in Mesos version N, agent of

Re: Review Request 44661: Deprecated the `docker_stop_timeout` flag.

2016-03-15 Thread Ben Mahler
rsion? This information would be great to have in the CHANGELOG deprecation message I suggested above. src/slave/flags.cpp (line 532) <https://reviews.apache.org/r/44661/#comment186051> poly? - Ben Mahler

Re: Review Request 44660: Used `KillPolicy` and shutdown grace period in docker executor.

2016-03-15 Thread Ben Mahler
could ignore the docker stop flag if a kill policy was set, because the user is being explicit about how much time they need. This is the same as how we ignore the executor shutdown grace period flag if the executor explicitly sets one. - Ben Mahler On March 15, 2016, 4:04 p.m., Alexander Rukletso

Re: Review Request 44708: Fixed signed / unsigned comparison in docker.cpp.

2016-03-15 Thread Ben Mahler
) <https://reviews.apache.org/r/44708/#comment186028> We tend to use size_t for things that are a count or a size. Otherwise, we'll tend to use `unsigned int` rather than uint32_t. - Ben Mahler On March 15, 2016, 2:28 p.m., Alexander Rukl

Re: Review Request 44659: Updated the comment about docker executor.

2016-03-15 Thread Ben Mahler
tps://reviews.apache.org/r/44659/#comment186027> Thanks, the original comment was pretty confusing, could you also reach out to tim to ask him if there was anything else that we should call out here? - Ben Mahler On March 15, 2016, 2:28 p.m., Alexander Rukletsov

Re: Review Request 44658: Removed unused signal escalation constant.

2016-03-15 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44658/#review123771 --- Ship it! Ship It! - Ben Mahler On March 15, 2016, 2:28 p.m

Re: Review Request 44657: Used `KillPolicy` and shutdown grace period in command executor.

2016-03-15 Thread Ben Mahler
GRACE_PERIOD': " << parse.error(); ``` We've found this style makes it clearer that no spaces were forgotten, if you think about it, it's not the previous line that should be responsible for adding a space, it is the line that adds more

Re: Review Request 44707: Added validation for task's kill policy.

2016-03-15 Thread Ben Mahler
should make this really easy :) - Ben Mahler On March 15, 2016, 3:47 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 44656: Introduced `KillPolicy` protobuf.

2016-03-15 Thread Ben Mahler
, it is the executor's responsibility to provide the health checking and kill policy. Does that seem clearer for the users? include/mesos/v1/mesos.proto (lines 359 - 360) <https://reviews.apache.org/r/44656/#comment185984> This is missing the NOTE from the non-v1 version? -

Re: Review Request 44655: Made `shutdown_grace_period` configurable in `ExecutorInfo`.

2016-03-15 Thread Ben Mahler
for example: ``` // If the executor specifies shutdown grace period, // pass it instead of the default. ``` - Ben Mahler On March 15, 2016, 3:49 p.m., Alexander Rukletsov wrote: > >

Re: Review Request 44654: Fixed hard-coded executor shutdown grace period in executor library.

2016-03-15 Thread Ben Mahler
) and above set this, so that we don't have to do a deeper investigation later if we want to figure out which agent version sets this. - Ben Mahler On March 15, 2016, 2:15 p.m., Alexander Rukletsov wrote: > > --- > This

Re: Review Request 44652: Omitted names of unused parameters in command executor.

2016-03-14 Thread Ben Mahler
-- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/44652/ > ----------- > > (Updated March 14, 2016, 5:48 p.m.) > > > Review request for mesos, Ben Mahler and Joerg Schad. > >

Re: Review Request 44651: Fixed formatting in executor library.

2016-03-14 Thread Ben Mahler
651/#comment185812> Can you rebase this without the `/* */` changes? I can't apply this patch as is. - Ben Mahler On March 14, 2016, 5:45 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically genera

Re: Review Request 44650: Omitted names of unused parameters in executor library.

2016-03-14 Thread Ben Mahler
650/#comment185811> This doesn't seem like the style we use for unused arguments..? - Ben Mahler On March 14, 2016, 5:45 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To r

Re: Review Request 43763: Passed `Duration` as const reference in the executor library.

2016-03-14 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43763/#review123586 --- Ship it! s/library/driver/ - Ben Mahler On March 14, 2016

Re: Review Request 44635: Corrected the log message and variable name in executor library.

2016-03-14 Thread Ben Mahler
> On March 15, 2016, 3:13 a.m., Ben Mahler wrote: > > Just a minor tweak that I'll apply. We refer to this as the executor driver rather than the executor library, I'll use the following commit message: Minor environment variable parsing cleanup in execu

Re: Review Request 44635: Corrected the log message and variable name in executor library.

2016-03-14 Thread Ben Mahler
< "Failed to parse value '" << value.get() << "'" << " of 'MESOS_RECOVERY_TIMEOUT': " << parse.error(); ``` - Ben Mahler On March 14, 2016, 5:45 p.m., Alexander Rukletsov wrote: > > --

Re: Review Request 44634: Updated the log message in the HTTP API executor library.

2016-03-14 Thread Ben Mahler
> On March 15, 2016, 3:08 a.m., Ben Mahler wrote: > > Ship It! I'll update the description to mention that this is consistent with the executor driver's log format. - Ben --- This is an automatically generated e-ma

Re: Review Request 44634: Updated the log message in the HTTP API executor library.

2016-03-14 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44634/#review123582 --- Ship it! Ship It! - Ben Mahler On March 14, 2016, 5:45 p.m

Re: Review Request 44631: Cleaned up the comment around executor shutdown event.

2016-03-14 Thread Ben Mahler
ents I had written for the 'shutdown_grace_period' in the ExecutorInfo changes? - Ben Mahler On March 14, 2016, 5:45 p.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit: &

Re: Review Request 44630: Renamed `EXECUTOR_SHUTDOWN_GRACE_PERIOD` constant.

2016-03-14 Thread Ben Mahler
reviews, for example: `EXECUTOR_SHUTDOWN_GRACE_PERIOD` is now a flag default and is no longer intended to be used as a hard-coded constant used in the source. The general pattern in the code is to name a flag default as `DEFAULT_X` rather than just `X`. - Ben Mahler On March 14, 2016, 5:44 p.m

Re: Review Request 44628: Fixed a comment and ordering in mesos.proto.

2016-03-14 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44628/#review123570 --- Ship it! Ship It! - Ben Mahler On March 14, 2016, 5:44 p.m

Re: Review Request 44629: Fixed ordering and inconsistencies in slave constants.

2016-03-14 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44629/#review123571 --- Ship it! Ship It! - Ben Mahler On March 14, 2016, 5:44 p.m

Re: Review Request 44627: Removed a stale comment in the 1.0 mesos.proto.

2016-03-14 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44627/#review123569 --- Ship it! Ship It! - Ben Mahler On March 14, 2016, 5:44 p.m

Re: Review Request 44626: Fixed whitespaces in mesos.proto.

2016-03-14 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44626/#review123568 --- Ship it! Ship It! - Ben Mahler On March 14, 2016, 5:44 p.m

Re: Review Request 42590: Renamed reserved() to reservations().

2016-03-11 Thread Ben Mahler
efore committing. include/mesos/resources.hpp (lines 224 - 229) <https://reviews.apache.org/r/42590/#comment185471> Would be great to update the documentation here to reflect the changes. - Ben Mahler On March 12, 2016, 2:47 a.m., Guangy

Re: Review Request 42590: Renamed reserved() to reservations().

2016-03-11 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42590/#review123265 --- Ship it! Ship It! - Ben Mahler On March 12, 2016, 2:47 a.m

Re: Review Request 44721: Avoided external linkage for sched constants.

2016-03-11 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44721/#review123262 --- Ship it! Ship It! - Ben Mahler On March 11, 2016, 6:32 p.m

Re: Review Request 44720: Replaced `const string` slave constants with `constexpr char[]`.

2016-03-11 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44720/#review123261 --- Ship it! Ship It! - Ben Mahler On March 11, 2016, 6:32 p.m

Re: Review Request 44719: Avoided external linkage for slave constants.

2016-03-11 Thread Ben Mahler
> On March 12, 2016, 2:28 a.m., Ben Mahler wrote: > > I'll make sure the commit description provides the similar motivation as was provided in https://reviews.apache.org/r/44191/ (although referring to the latest project style guidelines rather than perform

Re: Review Request 44719: Avoided external linkage for slave constants.

2016-03-11 Thread Ben Mahler
tps://reviews.apache.org/r/44719/#comment185467> Can this be in-line or is there a circular dependency issue that warrants the .cpp file? - Ben Mahler On March 11, 2016, 6:32 p.m., Neil Conway wrote: > > --- > This is a

Re: Review Request 44718: Replaced `const string` master constants with `constexpr char[]`.

2016-03-11 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44718/#review123257 --- Ship it! Ship It! - Ben Mahler On March 11, 2016, 6:32 p.m

Re: Review Request 44191: Avoided external linkage for master constants.

2016-03-11 Thread Ben Mahler
191/#comment185463> Any reason this Duration constant wasn't changed to constexpr? - Ben Mahler On March 11, 2016, 6:31 p.m., Neil Conway wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https

Re: Review Request 44190: Made `Bytes` usable in `constexpr` expressions [stout].

2016-03-11 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44190/#review123253 --- Ship it! Ship It! - Ben Mahler On March 11, 2016, 6:30 p.m

Re: Review Request 44717: Marked a few Duration constants `constexpr`.

2016-03-11 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44717/#review123254 --- Ship it! Ship It! - Ben Mahler On March 11, 2016, 6:32 p.m

Re: Review Request 44690: Added 'delegate' info to the Help process.

2016-03-10 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44690/#review123085 --- Ship it! Ship It! - Ben Mahler On March 11, 2016, 3:11 a.m

Re: Review Request 44693: Updated endpoint docs based on adding the delegate to the Help process.

2016-03-10 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44693/#review123084 --- Ship it! Ship It! - Ben Mahler On March 11, 2016, 1:40 a.m

Re: Review Request 44692: Added exception for master/slave to exclude name in endpoint help.

2016-03-10 Thread Ben Mahler
166) <https://reviews.apache.org/r/44692/#comment185213> 2 spaces here? - Ben Mahler On March 11, 2016, 1:39 a.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://

Re: Review Request 44690: Added 'delegate' info to the Help process.

2016-03-10 Thread Ben Mahler
-- > > (Updated March 11, 2016, 1:38 a.m.) > > > Review request for mesos, Ben Mahler and Neil Conway. > > > Bugs: MESOS-4787 > https://issues.apache.org/jira/browse/MESOS-4787 > > > Repository: mesos > > > Description > -

Re: Review Request 44691: Fixed comment in support/generate-endpoint-help.py.

2016-03-10 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44691/#review123080 --- Ship it! Ship It! - Ben Mahler On March 11, 2016, 1:39 a.m

<    1   2   3   4   5   6   7   8   9   10   >