Re: Review Request 30612: Added /master/frameworks/{framework}/tasks/{task} endpoint.

2015-05-19 Thread Alexander Rojas
On May 13, 2015, 11:19 a.m., Adam B wrote: src/master/http.cpp, lines 279-288 https://reviews.apache.org/r/30612/diff/15/?file=947349#file947349line279 One thing I'm not 100% clear about from this description: Are each of these levels strict subsets of the json hierarchy, or e.g.

Re: Review Request 30612: Added /master/frameworks/{framework}/tasks/{task} endpoint.

2015-05-19 Thread Alexander Rojas
On May 18, 2015, 3:18 p.m., Till Toenshoff wrote: src/master/http.cpp, line 312 https://reviews.apache.org/r/30612/diff/15/?file=947349#file947349line312 `const`? Cannot be const because the operator `[]` provides no const overload (common problem on the std library) On May 18,

Re: Review Request 33792: Extend hashmap to support custom equality and hash

2015-05-19 Thread Alexander Rojas
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33792/#review84457 --- Ship it! Ship It! - Alexander Rojas On May 20, 2015, 4:06 a.m.,

Re: Review Request 30032: Added support for cache control in libprocess when dealing with static files.

2015-05-19 Thread Nikita Vetoshkin
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30032/#review84465 --- 3rdparty/libprocess/include/process/http.hpp

Re: Review Request 34442: Support manipulating scheduler affinity on Linux.

2015-05-19 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34442/ --- (Updated May 20, 2015, 5:16 a.m.) Review request for mesos, Ian Downes, Niklas

Re: Review Request 34068: The test case of extend hashmap to support custom equality and hash

2015-05-19 Thread Alexander Rojas
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34068/#review84464 --- 3rdparty/libprocess/3rdparty/stout/tests/hashmap_tests.cpp

Review Request 34442: Support manipulating scheduler affinity on Linux.

2015-05-19 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34442/ --- Review request for mesos, Ian Downes, Niklas Nielsen, and Vinod Kone. Bugs:

Re: Review Request 34442: Support manipulating scheduler affinity on Linux.

2015-05-19 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34442/#review84422 --- Bad patch! Reviews applied: [34308, 34309, 34442] Failed command:

Re: Review Request 34308: Filter revocable resources.

2015-05-19 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34308/ --- (Updated May 19, 2015, 5:29 p.m.) Review request for mesos and Vinod Kone.

Re: Review Request 34309: Support manipulating scheduler policy on Linux.

2015-05-19 Thread Joris Van Remoortere
On May 19, 2015, 6:56 p.m., Joris Van Remoortere wrote: Hey Ian, looks good. I have a prototype for testing the pre-emption. I will add some reviews that depend on this patch set, as I will need to introduce sched_affinity first. I've added the test in subsequent reviews:

Re: Review Request 34442: Support manipulating scheduler affinity on Linux.

2015-05-19 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34442/ --- (Updated May 20, 2015, 2:55 a.m.) Review request for mesos, Ian Downes, Niklas

Re: Review Request 34294: Add an updated committers document to replace the stale svn page.

2015-05-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34294/ --- (Updated May 19, 2015, 11:56 p.m.) Review request for mesos, Dave Lester and

Re: Review Request 34295: Added maintainers documentation.

2015-05-19 Thread Ben Mahler
On May 17, 2015, 7:03 a.m., Adam B wrote: Thank you for putting this together. This will help people decide where to turn when they need advice or a shepherd/reviewer. Please allow me to suggest some additional components and maintainers, and clarify some terminology/formatting. My

Re: Review Request 34426: Extend the Traffic Control queueing models to allow dynamically allocated Handles, extend API to allow searching by handle (or parent).

2015-05-19 Thread Cong Wang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34426/#review84445 --- src/linux/routing/queueing/fq_codel.hpp

Re: Review Request 34308: Filter revocable resources.

2015-05-19 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34308/#review84426 --- Ship it! Ship It! - Vinod Kone On May 20, 2015, 12:29 a.m., Ian

Re: Review Request 33792: Extend hashmap to support custom equality and hash

2015-05-19 Thread haosdent huang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33792/ --- (Updated May 20, 2015, 2:06 a.m.) Review request for mesos, Alexander Rojas

Re: Review Request 34442: Support manipulating scheduler affinity on Linux.

2015-05-19 Thread Benjamin Hindman
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34442/#review84453 --- src/linux/sched.hpp

Re: Review Request 33823: Protocol file with the HTTP API messages between executor and slave

2015-05-19 Thread Alexander Rojas
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33823/ --- (Updated May 19, 2015, 2:19 p.m.) Review request for mesos, Isabel Jimenez,

Re: Review Request 33823: Protocol file with the HTTP API messages between executor and slave

2015-05-19 Thread Alexander Rojas
On May 5, 2015, 10:42 p.m., Vinod Kone wrote: include/mesos/executor/executor.proto, line 48 https://reviews.apache.org/r/33823/diff/1/?file=949198#file949198line48 Is FrameworkID not present in FrameworkInfo? It is but it is optional. Should we instead expect it to be there and

Re: Review Request 33823: Protocol file with the HTTP API messages between executor and slave

2015-05-19 Thread Alexander Rojas
On May 9, 2015, 4:27 a.m., Marco Massenzio wrote: include/mesos/executor/executor.hpp, line 22 https://reviews.apache.org/r/33823/diff/1/?file=949197#file949197line22 please avoid SCREAMING COMMENTS :) (also, not sure what is the use of that comment? is it a TODO? should we

Re: Review Request 29947: Fixed a race condition in hook tests for remove-executor hook.

2015-05-19 Thread Niklas Nielsen
On May 14, 2015, 9:39 a.m., Niklas Nielsen wrote: src/examples/test_hook_module.cpp, line 37 https://reviews.apache.org/r/29947/diff/10/?file=958466#file958466line37 Why did you need this one? Kapil Arya wrote: Without this we would have to use qualify HookExecuted with

Re: Review Request 30612: Added /master/frameworks/{framework}/tasks/{task} endpoint.

2015-05-19 Thread Alexander Rukletsov
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30612/#review84314 --- src/master/http.cpp

Re: Review Request 30612: Added /master/frameworks/{framework}/tasks/{task} endpoint.

2015-05-19 Thread Alexander Rukletsov
On May 18, 2015, 1:18 p.m., Till Toenshoff wrote: src/master/http.cpp, line 312 https://reviews.apache.org/r/30612/diff/15/?file=947349#file947349line312 `const`? Alexander Rojas wrote: Cannot be const because the operator `[]` provides no const overload (common problem on

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/#review84338 --- LGTM - Can we wire up a test for this?

Re: Review Request 34309: Support manipulating scheduler policy on Linux.

2015-05-19 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34309/#review84359 --- can you please make sure to run 'make check' on OSX?

Re: Review Request 34389: Removed Master::getSlave.

2015-05-19 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34389/#review84360 --- Ship it! Ship It! - Vinod Kone On May 19, 2015, 1:56 a.m., Ben

Re: Review Request 34420: Updated the committer doc regarding checking JIRA before committing.

2015-05-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34420/#review84363 --- Looks like we need to add a step for resolving the JIRA ticket

Re: Review Request 34309: Support manipulating scheduler policy on Linux.

2015-05-19 Thread Vinod Kone
On May 19, 2015, 4:53 p.m., Niklas Nielsen wrote: src/linux/sched.hpp, line 51 https://reviews.apache.org/r/34309/diff/2/?file=963181#file963181line51 Want to add some context to which pid that you couldn't get the policy for? For example: Failed to get scheduler policy for pid:

Review Request 34426: Extend the Traffic Control queueing models to allow dynamically allocated Handles, extend API to allow searching by handle (or parent).

2015-05-19 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34426/ --- Review request for mesos, Chi Zhang, Ian Downes, Jie Yu, and Cong Wang. Bugs:

Re: Review Request 34309: Support manipulating scheduler policy on Linux.

2015-05-19 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34309/#review84234 --- Hey Ian, looks good. I have a prototype for testing the

Re: Review Request 34295: Added maintainers documentation.

2015-05-19 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34295/#review84361 --- Ship it! docs/committers.md

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Timothy Chen
On May 16, 2015, 4:46 a.m., Timothy Chen wrote: src/slave/containerizer/isolators/cgroups/cpushare.cpp, line 345 https://reviews.apache.org/r/34310/diff/1/?file=961963#file961963line345 What if the same set of resources contains both revocable and non-revocable resources? Ian

Re: Review Request 34260: Replaced os::dirname and os::basename with Path::dirname and Path::basename.

2015-05-19 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34260/#review84380 --- src/cli/mesos.cpp

Re: Review Request 34438: Removed unnecessary freeaddrinfo in hostname if getaddrinfo returns error.

2015-05-19 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34438/#review84400 --- Ship it! Ship It! - Jie Yu On May 19, 2015, 9:44 p.m., Chi

Re: Review Request 34309: Support manipulating scheduler policy on Linux.

2015-05-19 Thread Ian Downes
On May 19, 2015, 9:53 a.m., Niklas Nielsen wrote: src/tests/sched_tests.cpp, line 45 https://reviews.apache.org/r/34309/diff/2/?file=963182#file963182line45 Any reason not to use the fork abstraction? If not, want to explicitly use ::fork()? I only want a single child so the

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Ian Downes
On May 19, 2015, 12:42 p.m., Vinod Kone wrote: My high leve comment: Lets add the following check/invariant in the master: An executor and all its tasks should all use regular resources or should all use revocable resources. We can relax this policy in the future when we

Re: Review Request 34256: Added Path::dirname() and Path::basename().

2015-05-19 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34256/#review84375 --- 3rdparty/libprocess/3rdparty/stout/include/stout/path.hpp

Re: Review Request 33823: Protocol file with the HTTP API messages between executor and slave

2015-05-19 Thread Marco Massenzio
On May 9, 2015, 2:27 a.m., Marco Massenzio wrote: include/mesos/executor/executor.hpp, line 22 https://reviews.apache.org/r/33823/diff/1/?file=949197#file949197line22 please avoid SCREAMING COMMENTS :) (also, not sure what is the use of that comment? is it a TODO? should we

Re: Review Request 34193: Refactored common functionality into BaseFlags

2015-05-19 Thread Marco Massenzio
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34193/ --- (Updated May 19, 2015, 10:31 p.m.) Review request for mesos, Benjamin Hindman

Re: Review Request 34426: Extend the Traffic Control queueing models to allow dynamically allocated Handles, extend API to allow searching by handle (or parent).

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

Re: Review Request 34259: Replaced os::dirname and os::basename with Path::dirname and Path::basename.

2015-05-19 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34259/#review84379 --- Ship it! Ship It! - Vinod Kone On May 17, 2015, 7:47 p.m., Till

Re: Review Request 34420: Updated the committer doc regarding checking JIRA before committing.

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

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/ --- (Updated May 19, 2015, 12:58 p.m.) Review request for mesos, Joris Van

Re: Review Request 34309: Support manipulating scheduler policy on Linux.

2015-05-19 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34309/ --- (Updated May 19, 2015, 12:58 p.m.) Review request for mesos, Joris Van

Re: Review Request 34321: Merge class Handle which is duplicated between filter/handle and queueing/handle.

2015-05-19 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34321/ --- (Updated May 19, 2015, 8:27 p.m.) Review request for mesos, Chi Zhang, Ian

Re: Review Request 34416: Add 'path::basename' and 'path::dirname' to stout's user guide

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

Review Request 34438: Removed unnecessary freeaddrinfo in hostname if getaddrinfo returns error.

2015-05-19 Thread Chi Zhang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34438/ --- Review request for mesos, Ben Mahler, Evelina Dumitrescu, and Jie Yu. Bugs:

Re: Review Request 34438: Removed unnecessary freeaddrinfo in hostname if getaddrinfo returns error.

2015-05-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34438/#review84399 --- Ship it! Thanks! Minor style thing below which I'll clean up for

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Ian Downes
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/ --- (Updated May 19, 2015, 3:43 p.m.) Review request for mesos, Joris Van

Re: Review Request 33793: HTTP headers should be considered case-insensitive.

2015-05-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/33793/#review84376 --- Thanks! Can you have a look at my comments on r/34068/ and apply

Re: Review Request 34309: Support manipulating scheduler policy on Linux.

2015-05-19 Thread Niklas Nielsen
On May 19, 2015, 9:53 a.m., Niklas Nielsen wrote: src/linux/sched.hpp, line 51 https://reviews.apache.org/r/34309/diff/2/?file=963181#file963181line51 Want to add some context to which pid that you couldn't get the policy for? For example: Failed to get scheduler policy for pid:

Re: Review Request 34309: Support manipulating scheduler policy on Linux.

2015-05-19 Thread Vinod Kone
On May 19, 2015, 4:53 p.m., Niklas Nielsen wrote: src/linux/sched.hpp, line 51 https://reviews.apache.org/r/34309/diff/2/?file=963181#file963181line51 Want to add some context to which pid that you couldn't get the policy for? For example: Failed to get scheduler policy for pid:

Re: Review Request 34068: The test case of extend hashmap to support custom equality and hash

2015-05-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34068/#review84370 --- Thanks for the test! I left some comments that are relevant to

Re: Review Request 34392: Added a method to Path which returns the modification time of the represented path.

2015-05-19 Thread Till Toenshoff
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34392/#review84320 --- Up for discussion: Given that `Time` should remain closely bound to

Re: Review Request 30774: Fetcher Cache

2015-05-19 Thread Bernd Mathiske
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30774/ --- (Updated May 19, 2015, 8:58 a.m.) Review request for mesos, Adam B, Benjamin

Re: Review Request 34308: Filter revocable resources.

2015-05-19 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34308/#review84329 --- LGTM - want to add a test in src/tests/resources_tests.cpp too? -

Re: Review Request 34392: Added a method to Path which returns the modification time of the represented path.

2015-05-19 Thread Alexander Rojas
On May 19, 2015, 5:54 p.m., Till Toenshoff wrote: 3rdparty/libprocess/3rdparty/stout/include/stout/path.hpp, lines 41-42 https://reviews.apache.org/r/34392/diff/1/?file=963337#file963337line41 Why did you wrap this function head? I don't start your question. - Alexander

Re: Review Request 34310: Use IDLE scheduling for revocable CPU in cgroups isolator.

2015-05-19 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34310/#review84353 --- src/slave/containerizer/isolators/cgroups/cpushare.cpp

Re: Review Request 34388: Index slaves by UPID in the master.

2015-05-19 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34388/ --- (Updated May 19, 2015, 5:39 p.m.) Review request for mesos and Vinod Kone.

Review Request 34420: Updated the committer doc regarding checking JIRA before committing.

2015-05-19 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34420/ --- Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Vinod Kone.

Re: Review Request 34321: Merge class Handle which is duplicated between filter/handle and queueing/handle.

2015-05-19 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34321/ --- (Updated May 19, 2015, 6:20 p.m.) Review request for mesos, Chi Zhang, Ian

Re: Review Request 34309: Support manipulating scheduler policy on Linux.

2015-05-19 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34309/#review84366 --- src/linux/sched.hpp

Re: Review Request 30612: Added /master/frameworks/{framework}/tasks/{task} endpoint.

2015-05-19 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30612/#review84372 --- Patch looks great! Reviews applied: [32198, 32163, 30612] All