Re: Review Request 50327: Added scripts to build sample framework executables.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50327/#review147992 --- Patch looks great! Reviews applied: [50064, 50179, 50323, 50324,

Re: Review Request 50707: Added test for agent removal behavior.

2016-09-07 Thread Neil Conway
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50707/ --- (Updated Sept. 7, 2016, 9:23 a.m.) Review request for mesos and Vinod Kone.

Re: Review Request 46220: Added documentation for Nvidia GPU support.

2016-09-07 Thread Kevin Klues
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46220/ --- (Updated Sept. 7, 2016, 11:19 a.m.) Review request for mesos, Benjamin Mahler

Re: Review Request 51643: Modified network file setup in `network/cni` isolator.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51643/#review148003 --- Patch looks great! Reviews applied: [51643] Passed command:

Re: Review Request 51478: Modified tests to account for `_runTask()` rename.

2016-09-07 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51478/#review147987 --- src/tests/master_slave_reconciliation_tests.cpp (line 429)

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51477/#review148008 --- Another point I want to mention is without

Re: Review Request 51476: Made the `TaskInfo` argument in `launchExecutor()` optional.

2016-09-07 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51476/#review147989 --- Ship it! Ship It! - Vinod Kone On Sept. 6, 2016, 9:16 p.m.,

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51477/#review147994 --- src/slave/slave.hpp (line 325)

Re: Review Request 51475: Added an equality operator for `TaskGroupInfo`.

2016-09-07 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51475/#review147988 --- src/common/type_utils.cpp (line 393)

Re: Review Request 51621: WIP: Made recovered resource allocated as soon as possible.

2016-09-07 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51621/ --- (Updated 九月 7, 2016, 9:19 a.m.) Review request for mesos, Benjamin Mahler,

Re: Review Request 46220: Added documentation for Nvidia GPU support.

2016-09-07 Thread Kevin Klues
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46220/ --- (Updated Sept. 7, 2016, 10:23 a.m.) Review request for mesos, Benjamin Mahler

Re: Review Request 46220: Added documentation for Nvidia GPU support.

2016-09-07 Thread Kevin Klues
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46220/ --- (Updated Sept. 7, 2016, 10:23 a.m.) Review request for mesos, Benjamin Mahler

Re: Review Request 50706: Added test cases for PARTITION_AWARE behavior.

2016-09-07 Thread Neil Conway
> On Sept. 6, 2016, 2:14 p.m., Vinod Kone wrote: > > src/tests/partition_tests.cpp, line 710 > > > > > > hmm. didn't realize that the TODO in `Master::reconcile` regarding > > assumption is actually wrong! tasks

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51477/#review147990 --- src/slave/slave.hpp (lines 327 - 329)

Re: Review Request 46220: Added documentation for Nvidia GPU support.

2016-09-07 Thread Kevin Klues
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46220/ --- (Updated Sept. 7, 2016, 10:27 a.m.) Review request for mesos, Benjamin Mahler

Re: Review Request 50707: Added test for race between health checks and agent disconnect.

2016-09-07 Thread Neil Conway
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50707/ --- (Updated Sept. 7, 2016, 10:37 a.m.) Review request for mesos and Vinod Kone.

Re: Review Request 50707: Added test for race between health checks and agent disconnect.

2016-09-07 Thread Neil Conway
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50707/ --- (Updated Sept. 7, 2016, 10:54 a.m.) Review request for mesos and Vinod Kone.

Re: Review Request 51683: Avoided resource validation when flatten resources.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51683/#review148000 --- Patch looks great! Reviews applied: [51683] Passed command:

Re: Review Request 51476: Made the `TaskInfo` argument in `launchExecutor()` optional.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51476/ --- (Updated Sept. 8, 2016, 5:28 a.m.) Review request for mesos and Vinod Kone.

Re: Review Request 51710: Minor fix to avoid creating an unnecessary temporary when looping.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51710/ --- (Updated Sept. 8, 2016, 5:45 a.m.) Review request for mesos and Vinod Kone.

Re: Review Request 51480: Added tests for launching task groups on the agent.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51480/ --- (Updated Sept. 8, 2016, 5:52 a.m.) Review request for mesos and Vinod Kone.

Re: Review Request 51709: Removed a no longer needed comment after the `runTasks()` refactoring.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51709/ --- (Updated Sept. 8, 2016, 5:24 a.m.) Review request for mesos, Guangya Liu and

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51477/ --- (Updated Sept. 8, 2016, 5:19 a.m.) Review request for mesos and Vinod Kone.

Re: Review Request 50270: Introduced linux capabilities support for mesos containerizer.

2016-09-07 Thread Benjamin Bannier
> On Sept. 6, 2016, 8:35 nachm., Jie Yu wrote: > > src/slave/containerizer/mesos/launch.cpp, line 378 > > > > > > I am wondering if we should rename this to: > > ``` > > capabilities->setKeepCaps() > >

Re: Review Request 50271: Created an isolator for Linux capabilities.

2016-09-07 Thread Benjamin Bannier
> On Sept. 6, 2016, 9 p.m., Jie Yu wrote: > > src/slave/containerizer/mesos/isolators/capabilities.hpp, line 41 > > > > > > are we consistent on 'override' keyword? I'd suggest we be consistent > > with other

Re: Review Request 50270: Introduced linux capabilities support for mesos containerizer.

2016-09-07 Thread Benjamin Bannier
> On Sept. 8, 2016, 5:01 a.m., Jie Yu wrote: > > Any comment on unresolved issues? Sorry, published comments now. - Benjamin --- This is an automatically generated e-mail. To reply, visit:

Re: Review Request 46980: Implemented adding a cni network config via 'cni/config' endpoint.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46980/#review148009 --- Bad patch! Reviews applied: [46980, 46979] Failed command:

Re: Review Request 46187: Terminate when receiving the ACK of terminal status update.

2016-09-07 Thread Qian Zhang
> On Sept. 6, 2016, 7:33 p.m., Vinod Kone wrote: > > > > Vinod Kone wrote: > also, can you add a test for this? Sure, I can add a test. I am just wondering how to use a test to verify the logic we added in this patch, maybe we can just add a test to launch a short task and check

Re: Review Request 46187: Terminate when receiving the ACK of terminal status update.

2016-09-07 Thread Qian Zhang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46187/ --- (Updated Sept. 7, 2016, 10:03 p.m.) Review request for mesos, Anand Mazumdar

Re: Review Request 50695: Renamed agent used resources to `allocation` for benchmark test.

2016-09-07 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50695/#review148016 --- src/tests/hierarchical_allocator_tests.cpp

Re: Review Request 51480: Added tests for launching task groups on the agent.

2016-09-07 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51480/#review147986 --- src/tests/slave_tests.cpp (lines 4534 - 4536)

Re: Review Request 46220: Added documentation for Nvidia GPU support.

2016-09-07 Thread Kevin Klues
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46220/ --- (Updated Sept. 7, 2016, 9:12 p.m.) Review request for mesos, Benjamin Mahler

Re: Review Request 46220: Added documentation for Nvidia GPU support.

2016-09-07 Thread Kevin Klues
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46220/ --- (Updated Sept. 7, 2016, 9:13 p.m.) Review request for mesos, Benjamin Mahler

Re: Review Request 46220: Added documentation for Nvidia GPU support.

2016-09-07 Thread Kevin Klues
> On Sept. 7, 2016, 5:52 p.m., Vinod Kone wrote: > > docs/gpu-support.md, lines 366-367 > > > > > > you can combine these 2 into one > > > > ``` > > $ make -j check GTEST_FILTER="*NVIDIA_GPU*" > >

Re: Review Request 50845: Added `unreachable_time` to TaskStatus.

2016-09-07 Thread Neil Conway
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50845/ --- (Updated Sept. 7, 2016, 9:30 p.m.) Review request for mesos and Vinod Kone.

Re: Review Request 50845: Added `unreachable_time` to TaskStatus.

2016-09-07 Thread Neil Conway
> On Sept. 7, 2016, 8:57 p.m., Vinod Kone wrote: > > src/master/master.cpp, line 1763 > > > > > > indent by 4? I think this is indented correctly in the revised RR; let me know if that's not the case. - Neil

Review Request 51706: Tweaked logging for UnregisterSlaveMessage handler.

2016-09-07 Thread Neil Conway
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51706/ --- Review request for mesos and Vinod Kone. Bugs: MESOS-5965

Re: Review Request 51653: Handled agents failing health checks multiple times.

2016-09-07 Thread Neil Conway
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51653/ --- (Updated Sept. 7, 2016, 9:35 p.m.) Review request for mesos and Vinod Kone.

Re: Review Request 50845: Added `unreachable_time` to TaskStatus.

2016-09-07 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50845/#review148077 --- Fix it, then Ship it! src/master/master.cpp (line 1763)

Re: Review Request 50707: Added test for race between health checks and agent disconnect.

2016-09-07 Thread Neil Conway
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50707/ --- (Updated Sept. 7, 2016, 9:29 p.m.) Review request for mesos and Vinod Kone.

Re: Review Request 51475: Added an equality operator for `TaskGroupInfo`.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51475/ --- (Updated Sept. 7, 2016, 9:53 p.m.) Review request for mesos and Vinod Kone.

Re: Review Request 49571: Added a benchmark test for allocations.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49571/#review148076 --- Bad patch! Reviews applied: [49571, 45967, 45966, 45963, 45962,

Re: Review Request 50846: Added more assertions to the master.

2016-09-07 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50846/#review148082 --- Ship it! Ship It! - Vinod Kone On Aug. 29, 2016, 9:50 a.m.,

Re: Review Request 51020: Clarified a log message.

2016-09-07 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51020/#review148083 --- Ship it! Ship It! - Vinod Kone On Aug. 24, 2016, 3:46 p.m.,

Review Request 51707: Fixed races between "unreachable" and "unregister" slave transitions.

2016-09-07 Thread Neil Conway
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51707/ --- Review request for mesos and Vinod Kone. Bugs: MESOS-5965

Re: Review Request 49924: Added libprocess as a shared library.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49924/#review148099 --- Patch looks great! Reviews applied: [49688, 49862, 49863, 49870,

Re: Review Request 51480: Added tests for launching task groups on the agent.

2016-09-07 Thread Anand Mazumdar
> On Sept. 7, 2016, 5:37 p.m., Vinod Kone wrote: > > src/tests/slave_tests.cpp, lines 4621-4622 > > > > > > why did you need to explicitly do this here but not in the above test? In the previous test we did not

Re: Review Request 51480: Added tests for launching task groups on the agent.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51480/ --- (Updated Sept. 7, 2016, 10:12 p.m.) Review request for mesos and Vinod Kone.

Re: Review Request 51478: Modified tests to account for `_runTask()` rename.

2016-09-07 Thread Anand Mazumdar
> On Sept. 7, 2016, 5:29 p.m., Vinod Kone wrote: > > I intentionally omitted putting the backticks since I was just renaming function calls/moving code around due to the refactoring. We might consider doing a sweep later. What do you think? - Anand

Review Request 51709: Removed a no longer needed comment after the `runTasks()` refactoring.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51709/ --- Review request for mesos, Guangya Liu and Vinod Kone. Repository: mesos

Review Request 51710: Minor fix to avoid creating an unnecessary temporary when looping.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51710/ --- Review request for mesos and Vinod Kone. Repository: mesos Description

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51477/ --- (Updated Sept. 7, 2016, 10:13 p.m.) Review request for mesos and Vinod Kone.

Re: Review Request 51478: Modified tests to account for `runTask()`/`_runTask()` refactoring.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51478/ --- (Updated Sept. 7, 2016, 10:11 p.m.) Review request for mesos and Vinod Kone.

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Anand Mazumdar
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51477/#review148068 --- - Anand Mazumdar On Sept. 6, 2016, 9:25 p.m., Anand Mazumdar

Review Request 51697: Renamed a capabilities function.

2016-09-07 Thread Benjamin Bannier
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51697/ --- Review request for mesos and Jie Yu. Repository: mesos Description ---

Re: Review Request 51553: Changed the way `HAP::updateAllocation()` calls `Resources.apply()`.

2016-09-07 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51553/ --- (Updated Sept. 7, 2016, 10:16 a.m.) Review request for mesos and Anindya

Re: Review Request 51479: Added mock overloads for `runTaskGroup()`/`launchGroup()`.

2016-09-07 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51479/#review148033 --- Ship it! Ship It! - Vinod Kone On Sept. 6, 2016, 9:28 p.m.,

Re: Review Request 50270: Introduced linux capabilities support for mesos containerizer.

2016-09-07 Thread Benjamin Bannier
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50270/ --- (Updated Sept. 7, 2016, 6:43 p.m.) Review request for mesos, Jay Guo and Jie

Re: Review Request 51052: Make mesos-docker-execute understand cgroups_enable_cfs.

2016-09-07 Thread Zhitao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51052/ --- (Updated Sept. 7, 2016, 4:51 p.m.) Review request for mesos, Gilbert Song,

Re: Review Request 51480: Added tests for launching task groups on the agent.

2016-09-07 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51480/#review148037 --- Ship it! src/tests/slave_tests.cpp (lines 4621 - 4622)

Re: Review Request 45966: Offer shared resources to frameworks only if opted in.

2016-09-07 Thread Anindya Sinha
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45966/ --- (Updated Sept. 7, 2016, 11:52 p.m.) Review request for mesos and Jiang Yan Xu.

Re: Review Request 45962: Added a persistent volume test framework for shared volumes.

2016-09-07 Thread Anindya Sinha
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45962/ --- (Updated Sept. 7, 2016, 11:52 p.m.) Review request for mesos and Jiang Yan Xu.

Re: Review Request 51683: Avoided resource validation when flatten resources.

2016-09-07 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51683/#review148109 --- Summarize the behavioral change in the summary? i.e., previously

Re: Review Request 45966: Offer shared resources to frameworks only if opted in.

2016-09-07 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45966/#review148098 --- Fix it, then Ship it! Can we have a simple allocator test with

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Anand Mazumdar
> On Sept. 7, 2016, 10:17 a.m., Guangya Liu wrote: > > src/slave/slave.cpp, lines 3120-3135 > > > > > > Can you please show more detail and update the comments here for which > > case will cause the

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Anand Mazumdar
> On Sept. 7, 2016, 10:26 a.m., Vinod Kone wrote: > > src/slave/slave.cpp, line 1616 > > > > > > couldn't this have been? > > > > ``` > > for (auto it = tasks.begin(); it != tasks.end(); ++it) > >

Re: Review Request 51700: Add `FrameworkAdded` event to master event stream.

2016-09-07 Thread Zhitao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51700/ --- (Updated Sept. 7, 2016, 11:03 p.m.) Review request for mesos, Xiaojian Huang,

Re: Review Request 45966: Offer shared resources to frameworks only if opted in.

2016-09-07 Thread Anindya Sinha
> On Sept. 7, 2016, 10:09 p.m., Jiang Yan Xu wrote: > > Can we have a simple allocator test with two frameworks, one framework > > without the capability doesn't get allocated the shared resource and the > > other with the capability gets it? > > > > Could be in a follow up review. Will add

Re: Review Request 45962: Added a persistent volume test framework for shared volumes.

2016-09-07 Thread Anindya Sinha
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45962/ --- (Updated Sept. 7, 2016, 11:55 p.m.) Review request for mesos and Jiang Yan Xu.

Re: Review Request 51707: Fixed races between "unreachable" and "unregister" slave transitions.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51707/#review148121 --- Bad patch! Reviews applied: [51707, 51653, 51706, 51021, 51377,

Re: Review Request 51480: Added tests for launching task groups on the agent.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51480/#review148126 --- Bad patch! Reviews applied: [51480, 51479, 51478, 51710, 51709,

Re: Review Request 50695: Renamed agent used resources to `allocation` for benchmark test.

2016-09-07 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50695/ --- (Updated 九月 8, 2016, 2:04 a.m.) Review request for mesos, Benjamin Mahler,

Re: Review Request 50695: Renamed agent used resources to `allocation` for benchmark test.

2016-09-07 Thread Guangya Liu
> On 九月 7, 2016, 3:32 p.m., Jiang Yan Xu wrote: > > src/tests/hierarchical_allocator_tests.cpp, lines 3427-3428 > > > > > > This looks alright. Why is it removed? I added this back, thanks Jiang Yan. - Guangya

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Guangya Liu
> On 九月 7, 2016, 10:17 a.m., Guangya Liu wrote: > > src/slave/slave.hpp, line 1027 > > > > > > How about const? > > Anand Mazumdar wrote: > Can you elaborate? Non member functions can't be marked `const`.

Re: Review Request 51477: Implemented `RunTaskGroupMessage` handler on the agent.

2016-09-07 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51477/#review148132 --- src/slave/slave.cpp (lines 1839 - 1840)

Re: Review Request 50270: Introduced linux capabilities support for mesos containerizer.

2016-09-07 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50270/#review148133 --- Any comment on unresolved issues? - Jie Yu On Sept. 7, 2016,

Re: Review Request 45966: Offer shared resources to frameworks only if opted in.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45966/#review148135 --- Patch looks great! Reviews applied: [45966] Passed command:

Re: Review Request 51027: Track allocation candidates to bound allocator.

2016-09-07 Thread Jacob Janco
> On Sept. 3, 2016, 9:21 a.m., Guangya Liu wrote: > > src/master/allocator/mesos/hierarchical.cpp, lines 484-485 > > > > > > I did some test with benchmark test of > >

Re: Review Request 51027: Track allocation candidates to bound allocator.

2016-09-07 Thread Jacob Janco
> On Sept. 3, 2016, 6:38 a.m., Guangya Liu wrote: > > src/master/allocator/mesos/hierarchical.cpp, lines 1226-1229 > > > > > > Just nit, I think that we should separate the `_allocate()` and > > `_deallocate()` to

Re: Review Request 51478: Modified tests to account for `_runTask()` rename.

2016-09-07 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51478/#review148031 --- Fix it, then Ship it! src/tests/slave_tests.cpp (line 2810)

Re: Review Request 51643: Modified network file setup in `network/cni` isolator.

2016-09-07 Thread Avinash sridharan
> On Sept. 7, 2016, 5:02 a.m., Jie Yu wrote: > > src/slave/containerizer/mesos/isolators/network/cni/cni.cpp, lines 1537-1538 > > > > > > I would mention that this step is necessary because we change the > >

Re: Review Request 42861: Ensure two Mount Disk resources do not have the same root path.

2016-09-07 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42861/#review148062 --- As Greg said some tests would be great. Then we can ship this.

Re: Review Request 45961: Support sharing of resources through reference counting of resources.

2016-09-07 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45961/#review148064 --- Given the way this review has evolved how about the following

Re: Review Request 50271: Created an isolator for Linux capabilities.

2016-09-07 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50271/#review148065 --- Patch looks great! Reviews applied: [51697, 50270, 50271]

Review Request 51700: Add `FrameworkAdded` event to master event stream.

2016-09-07 Thread Zhitao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51700/ --- Review request for mesos, Xiaojian Huang, haosdent huang, and Vinod Kone.

Re: Review Request 49862: Changed libraies to shared on OSX and UNIX.

2016-09-07 Thread Srinivas Brahmaroutu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49862/ --- (Updated Sept. 7, 2016, 6:33 p.m.) Review request for mesos, Alex Clemmer and

Re: Review Request 51393: Added unit test for provisioner recursive listContainers().

2016-09-07 Thread Gilbert Song
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51393/ --- (Updated Sept. 7, 2016, 11:49 a.m.) Review request for mesos, Benjamin

Re: Review Request 51420: Added provisioner appc unit test for provisioning nested container.

2016-09-07 Thread Gilbert Song
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51420/ --- (Updated Sept. 7, 2016, 11:49 a.m.) Review request for mesos, Benjamin

Re: Review Request 51392: Supported provisioner listContainers() to be recursive.

2016-09-07 Thread Gilbert Song
> On Aug. 30, 2016, 3:56 p.m., Joseph Wu wrote: > > src/slave/containerizer/mesos/provisioner/paths.cpp, lines 194-196 > > > > > > You don't really need to check if the subcontainers are empty here. Fixed. -

Re: Review Request 51392: Supported provisioner listContainers() to be recursive.

2016-09-07 Thread Gilbert Song
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51392/ --- (Updated Sept. 7, 2016, 11:49 a.m.) Review request for mesos, Benjamin

Re: Review Request 51503: Fixed appc provisioner tests to use absolute work directory.

2016-09-07 Thread Gilbert Song
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51503/ --- (Updated Sept. 7, 2016, 11:49 a.m.) Review request for mesos, Benjamin

Re: Review Request 51402: Added nested container check in provisioner destroy.

2016-09-07 Thread Gilbert Song
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51402/ --- (Updated Sept. 7, 2016, 11:49 a.m.) Review request for mesos, Benjamin

Re: Review Request 51402: Added nested container check in provisioner destroy.

2016-09-07 Thread Gilbert Song
> On Sept. 5, 2016, 7:38 a.m., Qian Zhang wrote: > > src/slave/containerizer/mesos/provisioner/provisioner.cpp, lines 432-434 > > > > > > Just a question, how do we ensure when a container is being destroyed, > >

Re: Review Request 51402: Added nested container check in provisioner destroy.

2016-09-07 Thread Gilbert Song
> On Sept. 5, 2016, 2:51 a.m., Qian Zhang wrote: > > src/slave/containerizer/mesos/provisioner/provisioner.cpp, line 434 > > > > > > s/sub-container/sub-containers/ Lets us nested containers consistantly. -

Re: Review Request 51420: Added provisioner appc unit test for provisioning nested container.

2016-09-07 Thread Gilbert Song
> On Sept. 4, 2016, 7:13 a.m., Guangya Liu wrote: > > src/tests/containerizer/provisioner_appc_tests.cpp, lines 372-373 > > > > > > Just nit, I saw that the recover case is using > > `UUID::random().toString()` to

Re: Review Request 51343: Refactored the redundant logic in provisioner recover().

2016-09-07 Thread Gilbert Song
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51343/ --- (Updated Sept. 7, 2016, noon) Review request for mesos, Benjamin Hindman,

Re: Review Request 51643: Modified network file setup in `network/cni` isolator.

2016-09-07 Thread Avinash sridharan
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51643/ --- (Updated Sept. 7, 2016, 7:02 p.m.) Review request for mesos, Gilbert Song, Jie

Re: Review Request 51359: Added unit test for provisioner helper findContainerDir.

2016-09-07 Thread Gilbert Song
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51359/ --- (Updated Sept. 7, 2016, 12:01 p.m.) Review request for mesos, Benjamin

Re: Review Request 51358: Implemented recursive helper method findContainerDir for provisioner.

2016-09-07 Thread Gilbert Song
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51358/ --- (Updated Sept. 7, 2016, 12:01 p.m.) Review request for mesos, Benjamin

Re: Review Request 51654: Fixed help display for mesos-containerizer subcommands.

2016-09-07 Thread Benjamin Bannier
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51654/ --- (Updated Sept. 7, 2016, 6:28 p.m.) Review request for mesos and Jie Yu.

  1   2   >