Re: Review Request 37999: Introduced an Authenticator interface and an AuthenticationRouter in libprocess.

2015-11-18 Thread Ben Mahler
/ Create the global HTTP authentication router. authentication_router = new AuthenticationRouter(); ``` 3rdparty/libprocess/src/process_reference.hpp (line 52) <https://reviews.apache.org/r/37999/#comment165882> This should be in a separate patch, much like we did for the promise setting

Re: Review Request 40539: Removed socket from HttpEvent.

2015-11-20 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40539/#review107364 --- Ship it! - Ben Mahler On Nov. 20, 2015, 12:34 p.m., Alexander

Re: Review Request 37999: Introduced an Authenticator interface and an AuthenticationRouter in libprocess.

2015-11-20 Thread Ben Mahler
rfaces (we don't expect these interfaces to change further for the MVP). I will update the description in the commit to reflect that this no longer includes the ProcessManager integration. - Ben Mahler On Nov. 20, 2015, 12:53 p.m., Alexan

Re: Review Request 37999: Introduced an Authenticator interface and an AuthenticationRouter in libprocess.

2015-11-20 Thread Ben Mahler
> On Nov. 20, 2015, 2 p.m., Ben Mahler wrote: > > For transparency we pulled out the libprocess integration because we > > realized that requests sent to the authentication router need to have > > authentication results satisfied in the same order in which the requests

Re: Review Request 40241: Fixed apply-reviews.py to prevent git commit editors from hanging.

2015-11-25 Thread Ben Mahler
committing 40225 since they looked independent. - Ben Mahler On Nov. 14, 2015, 5:07 p.m., Artem Harutyunyan wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 40767: Take possible isNone() into account when comparing two Option CPU resource numbers.

2015-11-30 Thread Ben Mahler
tps://reviews.apache.org/r/40767/#comment167759> Do you know about Option's getOrElse? You can avoid these ternary expressions. Also the ? needs a space in the second line here. - Ben Mahler On Nov. 27, 2015, 1:44 p.m., Bernd Mat

Re: Review Request 38287: Check if the futrue is failed before dispatch in freeze()

2015-11-30 Thread Ben Mahler
f a process pointer. - Ben Mahler On Nov. 23, 2015, 5:37 a.m., Jian Qiu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://rev

Re: Review Request 39938: Document OS X SIGPIPE delivery.

2015-12-02 Thread Ben Mahler
/signals_tests.cpp (line 44) <https://reviews.apache.org/r/39938/#comment168182> One r in triggering. - Ben Mahler On Nov. 4, 2015, 5:15 p.m., James Peach wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 40487: MESOS-3959: show slave hostname on executor page

2015-12-02 Thread Ben Mahler
, would you mind sharing a screenshot before I commit this so that I know you've actually checked how this looks? - Ben Mahler On Nov. 20, 2015, 5 p.m., Ian Babrou wrote: > > --- > This is an automatically generated e-mail. T

Re: Review Request 39941: SIGPIPE is ignored in libprocess so stop handling it.

2015-12-03 Thread Ben Mahler
) <https://reviews.apache.org/r/39941/#comment168385> No longer needed? src/tests/main.cpp (line 32) <https://reviews.apache.org/r/39941/#comment168386> No longer needed? - Ben Mahler On Nov. 4, 2015, 5:16 p.m., James

Re: Review Request 39940: Globally ignore SIGPIPE in libprocess.

2015-12-03 Thread Ben Mahler
e a TODO for restoring the previous handler upon finalization of libprocess. - Ben Mahler On Nov. 4, 2015, 5:16 p.m., James Peach wrote: > > --- > This is an automatically generated e-m

Re: Review Request 40501: Cleanup a leaked reference to a test process living in the stack.

2015-12-03 Thread Ben Mahler
tps://reviews.apache.org/r/40501/#comment168391> This makes spawning and termination asymmetric! :( Please follow the approach done here: https://github.com/apache/mesos/blob/0.26.0-rc3/3rdparty/libprocess/src/tests/http_tests.cpp#L64-L117 - Ben Mahler On Nov. 19, 2015, 9:51 p.m.,

Re: Review Request 40660: Linked against executor PID's to ensure ordered message delivery

2015-12-04 Thread Ben Mahler
agent <-> executor protocol is such that we don't need to in order to fix the issue. - Ben Mahler On Nov. 24, 2015, 6:25 p.m., Anand Mazumdar wrote: > > --- > This is an automatically generated e-mail. To r

Re: Review Request 38000: Introduced support for user interaction with HTTP AuthenticationRouter.

2015-12-08 Thread Ben Mahler
rather than introducing another Process here? There is already a handler for 'auth', so we can add one called '/authenticated' and document why '/auth' is still there (looks like it is going to be obv

Re: Review Request 38000: Introduced support for user interaction with HTTP AuthenticationRouter.

2015-12-08 Thread Ben Mahler
. Let's try to avoid the sleep here if possible. 3rdparty/libprocess/src/tests/http_tests.cpp (lines 1381 - 1387) <https://reviews.apache.org/r/38000/#comment168943> Can you use the other macro I mentioned earlier here

Review Request 41178: Fixed a message dropping bug in the health checker.

2015-12-09 Thread Ben Mahler
the flakiness. After this patch it is no longer flaky in this setup. Thanks, Ben Mahler

Re: Review Request 41178: Fixed a message dropping bug in the health checker.

2015-12-09 Thread Ben Mahler
Thanks for catching this! - Ben --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41178/#review109664 --- On Dec. 10,

Re: Review Request 41178: Fixed a message dropping bug in the health checker.

2015-12-09 Thread Ben Mahler
.apache.org/r/41178/#review109667 --- On Dec. 10, 2015, 2:01 a.m., Ben Mahler wrote: > > --- > This is an automatically generated e-mail. To reply, v

Re: Review Request 41182: Exposed task health flag through the state endpoint on master and slave.

2015-12-09 Thread Ben Mahler
, thanks! src/tests/health_check_tests.cpp (line 278) <https://reviews.apache.org/r/41182/#comment169268> Do we need this comment given you have the ones above these blocks? - Ben Mahler On Dec. 10, 2015, 2:50 a.m., Artem Harutyunyan

Re: Review Request 41235: Cleaned up the untar method in docker puller.

2015-12-11 Thread Ben Mahler
t169716> Hm.. it would be great to print the status using WSTRINGIFY on the status as we do throughout the rest of the code, any reason not to? - Ben Mahler On Dec. 11, 2015, 1:35 a.m., Jie Yu wrote: > > --- > This is a

Re: Review Request 41236: Some consistency style fixes in Docker puller.

2015-12-11 Thread Ben Mahler
ike both styles are ok here, so I assume you're going for consistency with the code in this area. - Ben Mahler On Dec. 11, 2015, 2:01 a.m., Jie Yu wrote: > > --- > This is an automatically

Re: Review Request 38000: Introduced support for user interaction with HTTP AuthenticationRouter.

2015-12-11 Thread Ben Mahler
69833> Ditto here about not bothering with this, and leaving a comment: ``` // Note that we don't bother pretending to specify a valid // 'Authorization' header since we force authentication su

Re: Review Request 38094: Added implementation of Http Basic authentication scheme.

2015-12-11 Thread Ben Mahler
evious patch 3rdparty/libprocess/src/tests/http_tests.cpp (line 1398) <https://reviews.apache.org/r/38094/#comment169846> How about: s/testpassword/password/ 3rdparty/libprocess/src/tests/http_tests.cpp (line 1416) <https://reviews.apache.org/r/38094/#comment169850> What

Re: Review Request 41114: Showed disk resources in the WebUI.

2015-12-11 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41114/#review110062 --- Ship it! Long overdue, thanks! - Ben Mahler On Dec. 9, 2015, 1

Review Request 41318: Fixed a connection leak in ProcessTest.Http1.

2015-12-12 Thread Ben Mahler
_tests.cpp 3970dd83aa4ddd2cbe3664c157fc15943ab1182d Diff: https://reviews.apache.org/r/41318/diff/ Testing --- Ran with many iterations. Thanks, Ben Mahler

Review Request 41320: Clarified Subprocess PIPE usage in Subprocess tests.

2015-12-12 Thread Ben Mahler
/41320/diff/ Testing --- make check Thanks, Ben Mahler

Re: Review Request 41318: Fixed a connection leak in ProcessTest.Http1.

2015-12-13 Thread Ben Mahler
- Ben --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41318/#review110106 --- On Dec. 12, 2015, 11:11 p.m., Ben Mahler wrote: > &

Re: Review Request 41326: Fixed error in authentication cleanup function.

2015-12-14 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41326/#review110235 --- Ship it! Ship It! - Ben Mahler On Dec. 13, 2015, 4:28 p.m

Review Request 41753: Use Path::extension to simplify mesos code.

2015-12-28 Thread Ben Mahler
: mesos Description --- See summary. Diffs - src/files/files.cpp ec036ecc786bce3c7e64ad64e4f4205eea4a9d84 Diff: https://reviews.apache.org/r/41753/diff/ Testing --- make check Thanks, Ben Mahler

Review Request 41751: Added Path::extension for obtaining file extensions.

2015-12-28 Thread Ben Mahler
h.hpp 0b986f0898da95c4cffd8bde1adfd9994d567096 3rdparty/libprocess/3rdparty/stout/tests/path_tests.cpp 821dbb185f09e2f279d95fd354ce2168cddf1bac Diff: https://reviews.apache.org/r/41751/diff/ Testing --- Added tests. Thanks, Ben Mahler

Review Request 41752: Use Path::extension to simplify libprocess code.

2015-12-28 Thread Ben Mahler
: mesos Description --- See summary. Diffs - 3rdparty/libprocess/src/process.cpp cff635e74d22185de7ae767bc268ef4d56ad89f8 Diff: https://reviews.apache.org/r/41752/diff/ Testing --- make check Thanks, Ben Mahler

Re: Review Request 40975: Document that libprocess ignores SIGPIPE

2015-12-29 Thread Ben Mahler
tps://reviews.apache.org/r/40975/#comment172546> Hm.. since this document is about programming, do we need to say 'programming notes'? Or is 'notes' enough? It would be nice to also explain why we do this. - Ben Mahler On Dec. 4, 2015, 5:

Re: Review Request 38094: Added implementation of Http Basic authentication scheme.

2015-12-29 Thread Ben Mahler
arty/libprocess/src/tests/http_tests.cpp (line 1389) <https://reviews.apache.org/r/38094/#comment172601> One more newline here 3rdparty/libprocess/src/tests/http_tests.cpp (lines 1390 - 1446) <https://reviews.apache.org/r/38094/#comment172602> Very nic

Re: Review Request 38094: Added implementation of Http Basic authentication scheme.

2016-01-04 Thread Ben Mahler
Seems a bit odd to put a body here, but not in the other cases, no? - Ben Mahler On Jan. 4, 2016, 11:26 a.m., Alexander Rojas wrote: > > --- > This is an auto

Re: Review Request 41877: Fixed libprocess build with libhttp-parser >= 2.0.

2016-01-04 Thread Ben Mahler
! - Ben Mahler On Jan. 4, 2016, 10:25 a.m., Jocelyn De La Rosa wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 41945: Fixed remaining flakiness in MasterMaintenanceTest.InverseOffersFilters.

2016-01-05 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41945/#review112952 --- Ship it! Ship It! - Ben Mahler On Jan. 5, 2016, 9:23 p.m

Re: Review Request 42011: Added gtest flags to generate xml report.

2016-01-08 Thread Ben Mahler
27;ll get this committed shortly. support/docker_build.sh (line 70) <https://reviews.apache.org/r/42011/#comment174274> I'll add a period here. - Ben Mahler On Jan. 7, 2016, 1:55 p.m., Shuai Lin wrote: > > --- >

Re: Review Request 42154: Moved push_back to end of removeFramework.

2016-01-11 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42154/#review113893 --- Ship it! Thank you! - Ben Mahler On Jan. 11, 2016, 9:41 p.m

Re: Review Request 41943: Added test case for stout protobuf parse containing JSON null.

2016-01-11 Thread Ben Mahler
hat you don't need to set the optional str here, can we omit it? 3rdparty/libprocess/3rdparty/stout/tests/protobuf_tests.cpp (lines 386 - 387) <https://reviews.apache.org/r/41943/#comment174659> This can be an EXPECT and no need to store the 'parse' variable: ```

Re: Review Request 42058: Added test case for protobuf parse passing error msg form nest JSON.

2016-01-11 Thread Ben Mahler
" \"str\": 1.0" // Error due to int for string type. ``` - Ben Mahler On Jan. 11, 2016, 11:40 p.m., Gilbert Song wrote: > > --- > This is an automatically gene

Re: Review Request 42166: Fixed stout protobuf::parse to support JSON containing JSON::Null.

2016-01-11 Thread Ben Mahler
g 'IsInitialized'. ``` - Ben Mahler On Jan. 11, 2016, 11:38 p.m., Gilbert Song wrote: > > --- > This is an automatically generated e-mail. To reply, visit: &

Re: Review Request 42167: Fixed stout protobuf::parse passing error message in nested JSON.

2016-01-11 Thread Ben Mahler
bles after the if condition? How about 'parse' for both of these? - Ben Mahler On Jan. 11, 2016, 11:39 p.m., Gilbert Song wrote: > > --- > This is an automatically generated e-ma

Re: Review Request 42167: Fixed stout protobuf::parse passing error message in nested JSON.

2016-01-11 Thread Ben Mahler
-- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42167/ > ----------- > > (Updated Jan. 11, 2016, 11:39 p.m.) > > > Review request

Re: Review Request 42053: Add flags to set size of completed task/framework history.

2016-01-11 Thread Ben Mahler
"Maximum number of completed frameworks to store in memory." Thoughts? src/master/master.hpp (line 1352) <https://reviews.apache.org/r/42053/#comment174682> 2 space indent :) - Ben Mahler On Jan. 1

Re: Review Request 42320: Replaced deprecated Docker flag "-c" with "--cpu-shares"

2016-01-14 Thread Ben Mahler
> On None, Ben Mahler wrote: > > Ship It! Sorry, I didn't mean to send a ship it, there is no diff here? - Ben --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42320

Re: Review Request 42320: Replaced deprecated Docker flag "-c" with "--cpu-shares"

2016-01-14 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42320/#review114592 --- Ship it! Ship It! - Ben Mahler On Jan. 14, 2016, 10:06 p.m

Re: Review Request 42053: Added flags to set size of completed task/framework history.

2016-01-14 Thread Ben Mahler
tps://reviews.apache.org/r/42053/#comment175435> Could you avoid the tab character here? - Ben Mahler On Jan. 13, 2016, 10:43 a.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 42222: Added a comment on allocator recovery.

2016-01-14 Thread Ben Mahler
e`, this delayed resume will crash the master due to the `CHECK(paused)` that currently resides in `resume`. Something I'm missing? src/master/allocator/mesos/hierarchical.cpp (line 468) <https://reviews.apache.org/r/

Re: Review Request 42212: Added unit test for framework/task history flags.

2016-01-14 Thread Ben Mahler
12/#comment175535> whoops: s/{ /{/ src/tests/master_tests.cpp (line 4085) <https://reviews.apache.org/r/42212/#comment175537> Perhaps: ``` // There should be only 1 completed framework. ``` Specifically, not sure if we need to describe that we "co

Re: Review Request 42100: Updated the jenkins build script to copy out xml testing reports.

2016-01-16 Thread Ben Mahler
(lines 125 - 135) <https://reviews.apache.org/r/42100/#comment175735> Are you sure that this doesn't over-write the period trap? http://stackoverflow.com/questions/3338030/multiple-bash-traps-for-the-same-signal - Ben Mahler On Jan. 9, 2016, 2:38 a.m., Shua

Re: Review Request 42355: Removed the timeout from the filter.

2016-01-20 Thread Ben Mahler
ld be great to consistently refer to "batch allocation", otherwise readers may be confused as to whether there is a distinction between a "periodic allocation" and a "batch allocation". - Ben Mahler On Jan. 19, 2016, 11:32 p.m., Alexander Rukletsov wrote: > > --

Re: Review Request 42519: Fixed race between SchedDriver.{stop(), abort()} and SchedDriver.join().

2016-01-21 Thread Ben Mahler
;https://reviews.apache.org/r/42519/#comment176851> Ok, so we don't need to, but how about we lock it just to keep all access to `status` synchronized? This seems pretty subtle to explain? - Ben Mahler On Jan. 19, 2016, 10:58 p.m., Kevin Klues wrote: > > ---

Re: Review Request 42633: Corrected a comment in the allocator.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42633/#review115807 --- Why did you make this change? - Ben Mahler On Jan. 22, 2016, 1

Re: Review Request 42636: Replaced term 'periodic allocation' for consistency.

2016-01-22 Thread Ben Mahler
ot so sure. - Ben Mahler On Jan. 22, 2016, 1:24 a.m., Alexander Rukletsov wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.a

Re: Review Request 42629: Added tests for offer filters.

2016-01-22 Thread Ben Mahler
s.apache.org/r/42629/#comment176857> This change actually belongs in the previous patch, since your last change breaks this test on its own. - Ben Mahler On Jan. 22, 2016, 1:24 a.m., Alexander Rukletsov wrote: > > --- >

Re: Review Request 41648: Used initializer list c-tor for brevity.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41648/#review115805 --- Ship it! - Ben Mahler On Jan. 22, 2016, 1:24 a.m., Alexander

Re: Review Request 42632: Cleaned up formatting in the allocator.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42632/#review115806 --- Ship it! - Ben Mahler On Jan. 22, 2016, 1:24 a.m., Alexander

Re: Review Request 42355: Removed the timeout from the filter.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42355/#review115797 --- Ship it! - Ben Mahler On Jan. 22, 2016, 1:24 a.m., Alexander

Re: Review Request 42634: Updated a comment for consistency.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42634/#review115811 --- Ship it! Ship It! - Ben Mahler On Jan. 22, 2016, 1:24 a.m

Re: Review Request 42631: Renamed resource offer timeout for clarity.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42631/#review115803 --- Ship it! - Ben Mahler On Jan. 22, 2016, 1:24 a.m., Alexander

Re: Review Request 42635: Removed misleading note from allocator tests.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42635/#review115812 --- Ship it! Ship It! - Ben Mahler On Jan. 22, 2016, 1:24 a.m

Re: Review Request 42630: Changed member visibility in offer filter classes.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42630/#review115810 --- Ship it! - Ben Mahler On Jan. 22, 2016, 1:24 a.m., Alexander

Re: Review Request 42637: Cleaned up formatting in allocator tests.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42637/#review115814 --- Ship it! Ship It! - Ben Mahler On Jan. 22, 2016, 1:24 a.m

Re: Review Request 42636: Replaced term 'periodic allocation' for consistency.

2016-01-22 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42636/#review115813 --- Ship it! Ship It! - Ben Mahler On Jan. 22, 2016, 1:24 a.m

Re: Review Request 42518: Disabled "drop_log_memory" flag for glog.

2016-01-23 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42518/#review116000 --- Ship it! Thanks Kapil! - Ben Mahler On Jan. 23, 2016, 3:59

Review Request 42881: Updated release guide to include running the benchmarks.

2016-01-27 Thread Ben Mahler
ever want to run benchmarks in CI. Diffs - docs/release-guide.md 7c9ee140b394d61581f736f2413969d650f18fa4 Diff: https://reviews.apache.org/r/42881/diff/ Testing --- N/A Thanks, Ben Mahler

Re: Review Request 42921: Fixed flaky MaxCompletedTasksPerFrameworkFlag test.

2016-01-28 Thread Ben Mahler
ter_tests.cpp (line 4038) <https://reviews.apache.org/r/42921/#comment177935> Usually the type is omitted from the name, e.g. schedRegistered instead of schedRegisteredFuture. So the following would be more consistent with our naming style: ``` s/offersQueue/offers/ ``` - Be

Re: Review Request 42921: Fixed flaky MaxCompletedTasksPerFrameworkFlag test.

2016-01-29 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42921/#review117018 --- Ship it! Ship It! - Ben Mahler On Jan. 28, 2016, 10:56 p.m

Re: Review Request 42787: Fixed whitespace errors in help strings for mesos/src.

2016-01-29 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42787/#review117017 --- Ship it! Ship It! - Ben Mahler On Jan. 26, 2016, 7:41 a.m

Re: Review Request 42788: Fixed whitespace errors in help strings for 3rdparty/libprocess.

2016-01-29 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42788/#review117019 --- Ship it! Ship It! - Ben Mahler On Jan. 26, 2016, 7:41 a.m

Re: Review Request 42955: Added variadic template for process::collect.

2016-01-29 Thread Ben Mahler
g/r/42955/#comment178090> This looks ok to me, but could you ping mpark to see if he has any feedback on this? 3rdparty/libprocess/include/process/collect.hpp (line 223) <https://reviews.apache.org/r/42955/#comment178089> s/func/f/ - Ben Mahler On Jan. 29, 2016, 9:18 p.m.,

Review Request 42980: Increased the default registry_store_timeout.

2016-01-29 Thread Ben Mahler
/configuration.md 2f0628a71539ad66fbd96c6a7ff2c7c8eb518e32 src/master/flags.cpp 4a0e21092bfad8baee0279d473e6056842139be7 Diff: https://reviews.apache.org/r/42980/diff/ Testing --- N/A Thanks, Ben Mahler

Re: Review Request 42956: Added variadic template for process::await.

2016-01-29 Thread Ben Mahler
/include/process/collect.hpp (lines 249 - 250) <https://reviews.apache.org/r/42956/#comment178126> Ditto from last review here, newline and .then on newline (since we treat it like a statement). - Ben Mahler On Jan. 30, 2016, 1:43 a.m., Kevin Klues

Re: Review Request 42955: Added variadic template for process::collect.

2016-01-29 Thread Ben Mahler
ct(wrappers) .then(std::bind(f, futures...)); ``` - Ben Mahler On Jan. 30, 2016, 1:43 a.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://rev

Re: Review Request 43216: Added json() function for jsonification of the global help process.

2016-02-04 Thread Ben Mahler
Then the consumption code looks like this: ``` for process in processes: for endpoint in process.endpoints: process.id, endpoint.name, endpoint.text ``` We might want a comment that shows the format to help th

Re: Review Request 43217: Added ability to return the /help endpoint as a JSON object.

2016-02-04 Thread Ben Mahler
-- > > (Updated Feb. 4, 2016, 8:39 p.m.) > > > Review request for mesos, Ben Mahler, Greg Mann, and Neil Conway. > > > Bugs: MESOS-3831 > https://issues.apache.org/jira/browse/MESOS-3831 > > > Repository: m

Re: Review Request 43217: Added ability to return the /help endpoint as a JSON object.

2016-02-04 Thread Ben Mahler
a browser it is difficult to change // the 'Accept' header. ``` - Ben Mahler On Feb. 4, 2016, 8:39 p.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply, visit: &

Re: Review Request 43221: Updated Rakefile to support subdirectories in /docs folder.

2016-02-04 Thread Ben Mahler
of steps to perform the replacement? That will be way easier to reason about, this regex has become nasty. - Ben Mahler On Feb. 4, 2016, 8:38 p.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply, visi

Re: Review Request 42957: Added remove() calls to process::Help.

2016-02-04 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42957/#review117958 --- Ship it! Ship It! - Ben Mahler On Feb. 5, 2016, 3:20 a.m

Re: Review Request 43215: Added code to remove a process's endpoint help strings upon termination.

2016-02-04 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43215/#review117959 --- Ship it! Ship It! - Ben Mahler On Feb. 5, 2016, 3:21 a.m

Re: Review Request 43216: Added json() function for jsonification of the global help process.

2016-02-04 Thread Ben Mahler
"endpoints": [ { "name" : name, "text" : text }, ... ] // }, // ... // ] // } ``` - Ben Mahler On Feb. 5, 2016, 3:22 a.m., Kevin Klues wrote: > > --- > Th

Re: Review Request 43217: Added ability to return the /help endpoint as a JSON object.

2016-02-04 Thread Ben Mahler
- > > (Updated Feb. 5, 2016, 3:23 a.m.) > > > Review request for mesos, Ben Mahler, Greg Mann, and Neil Conway. > > > Bugs: MESOS-3831 > https://issues.apache.org/jira/browse/MESOS-3831 > > > Repository: mesos > > > Description > -

Re: Review Request 43219: Added unit tests for hitting the /help endpoints of a process.

2016-02-04 Thread Ben Mahler
since the test can proceed if these fail. - Ben Mahler On Feb. 5, 2016, 3:24 a.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply, visit

Re: Review Request 42790: Added documentation for all http endpoints.

2016-02-04 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42790/#review117969 --- Ship it! Ship It! - Ben Mahler On Feb. 5, 2016, 3:26 a.m

Re: Review Request 43221: Updated Rakefile to support subdirectories in /docs folder.

2016-02-04 Thread Ben Mahler
tps://reviews.apache.org/r/43221/#comment179264> Some whitespace and typo touchups needed here. - Ben Mahler On Feb. 5, 2016, 3:27 a.m., Kevin Klues wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 42791: Added link to HTTP Endpoints doc in home.md.

2016-02-04 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42791/#review117971 --- Ship it! Ship It! - Ben Mahler On Feb. 5, 2016, 3:28 a.m

Re: Review Request 43220: Added script to generate docs from endpoint help strings.

2016-02-04 Thread Ben Mahler
ese? support/generate-endpoint-help.py (lines 366 - 383) <https://reviews.apache.org/r/43220/#comment179284> I wonder if we need these? Sounds like master and agent should be parameters rather than different function names? - Ben Mahler On Feb. 5, 2016, 3:30 a.m., Kevin

Re: Review Request 43220: Added script to generate docs from endpoint help strings.

2016-02-05 Thread Ben Mahler
aller as that might be a bit tougher to follow. Curious to see if we can make this easier for dummies like me :) support/generate-endpoint-help.py (line 304) <https://reviews.apache.org/r/43220/#comment179364> relative_path - Ben Mahler On Feb. 5, 2016, 11:17 p.m., Kevin

Re: Review Request 43121: Updated Doxygen main page to use relative links.

2016-02-05 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43121/#review118119 --- Ship it! Ship It! - Ben Mahler On Feb. 3, 2016, 12:15 a.m

Re: Review Request 43122: Updated doxygen target for site/Rakefile.

2016-02-05 Thread Ben Mahler
elaborating in the description? - Ben Mahler On Feb. 5, 2016, 9:19 p.m., Kapil Arya wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 43263: Updated site building instrucutions in site/README.md.

2016-02-05 Thread Ben Mahler
<https://reviews.apache.org/r/43263/#comment179366> Would be great to include exact commands to run so that folks doing this don't have to think as hard, would that be do-able here? - Ben Mahler On Feb. 6, 2016, 12:13 a.m., Kapil Arya wrote: > > --

Re: Review Request 43122: Updated doxygen target for site/Rakefile.

2016-02-07 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43122/#review118185 --- Ship it! Ship It! - Ben Mahler On Feb. 6, 2016, 11:30 p.m

Re: Review Request 43263: Updated site building instructions in site/README.md.

2016-02-07 Thread Ben Mahler
tory, or? How does one check this? site/README.md (lines 86 - 87) <https://reviews.apache.org/r/43263/#comment179416> Could you include a "-m " here so that people are including messages when they make commits? - Ben Mahl

Re: Review Request 43220: Added script to generate docs from endpoint help strings.

2016-02-08 Thread Ben Mahler
<https://reviews.apache.org/r/43220/#comment179431> Seems simpler to just append \n here and use a regular string literal? support/generate-endpoint-help.py (lines 77 - 93) <https://reviews.apache.org/r/43220/#comment179458> Could we make the line wrapping formatting consistent here?

Re: Review Request 43324: Updated endpoints/index.md.

2016-02-08 Thread Ben Mahler
tps://reviews.apache.org/r/43324/#comment179429> A pointer to support/generate-endpoint-help.py might help contributors figure out how this works. I'll make this change in the script in the previous review. - Ben Mahler On Feb. 8, 2016, 7:07 a.m., Kevin

Re: Review Request 43318: Updated release guide to include doxygen site generation.

2016-02-08 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43318/#review118241 --- Ship it! Ship It! - Ben Mahler On Feb. 8, 2016, 12:41 a.m

Re: Review Request 42657: Corrected a typo in allocator tests.

2016-02-09 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42657/#review118417 --- Ship it! Ship It! - Ben Mahler On Jan. 28, 2016, 1:08 p.m

Re: Review Request 42633: Corrected a comment in the allocator.

2016-02-09 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42633/#review118416 --- Ship it! Ship It! - Ben Mahler On Feb. 2, 2016, 10:28 a.m

Re: Review Request 42658: Restructured comments in allocator tests for clarity.

2016-02-09 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42658/#review118418 --- Ship it! Ship It! - Ben Mahler On Jan. 28, 2016, 1:11 p.m

Re: Review Request 42672: Explicitly checked for the absence of allocation.

2016-02-09 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42672/#review118420 --- Ship it! Ship It! - Ben Mahler On Jan. 28, 2016, 1:22 p.m

<    4   5   6   7   8   9   10   >