Re: Auto usage in mesos

2014-09-25 Thread Benjamin Hindman
+1 to growing the list of use cases for 'auto' organically. I agree with Cody that using 'auto' for return type deduction should also be included, especially since we're already using it in libprocess. On Mon, Sep 22, 2014 at 10:50 AM, Cody Maloney c...@mesosphere.io wrote: There are some

Re: Review Request 25622: Update the Mesos Style Guide with C++11 and naming notes.

2014-09-25 Thread Benjamin Hindman
On Sept. 22, 2014, 7:19 p.m., Ben Mahler wrote: docs/mesos-c++-style-guide.md, lines 96-99 https://reviews.apache.org/r/25622/diff/3/?file=699636#file699636line96 Why would the iterator be called `containerizer`? s/containerizer/iterator/ ? Dominic Hamon wrote:

Re: Review Request 25622: Update the Mesos Style Guide with C++11 and naming notes.

2014-09-25 Thread Alexander Rukletsov
On Sept. 22, 2014, 7:19 p.m., Ben Mahler wrote: docs/mesos-c++-style-guide.md, lines 96-99 https://reviews.apache.org/r/25622/diff/3/?file=699636#file699636line96 Why would the iterator be called `containerizer`? s/containerizer/iterator/ ? Dominic Hamon wrote:

Re: Review Request 25622: Update the Mesos Style Guide with C++11 and naming notes.

2014-09-25 Thread Alexander Rukletsov
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25622/ --- (Updated Sept. 25, 2014, 11:47 a.m.) Review request for mesos, Benjamin

Re: Review Request 25622: Update the Mesos Style Guide with C++11 and naming notes.

2014-09-25 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25622/#review54532 --- Patch looks great! Reviews applied: [25622] All tests passed. -

Re: Review Request 25789: Variadic strings join

2014-09-25 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25789/ --- (Updated Sept. 25, 2014, 5:10 p.m.) Review request for mesos and Benjamin

Re: Review Request 25789: Variadic strings join

2014-09-25 Thread Benjamin Hindman
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25789/#review54549 --- Ship it!

Re: Review Request 25864: Add 'FutureNothing cgroups::empty()'.

2014-09-25 Thread Jie Yu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25864/#review54553 --- Ship it! src/linux/cgroups.cpp

Re: Review Request 25622: Update the Mesos Style Guide with C++11 and naming notes.

2014-09-25 Thread Ben Mahler
On Sept. 22, 2014, 7:19 p.m., Ben Mahler wrote: docs/mesos-c++-style-guide.md, lines 96-99 https://reviews.apache.org/r/25622/diff/3/?file=699636#file699636line96 Why would the iterator be called `containerizer`? s/containerizer/iterator/ ? Dominic Hamon wrote:

Re: Review Request 25789: Variadic strings join

2014-09-25 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25789/ --- (Updated Sept. 25, 2014, 6:25 p.m.) Review request for mesos and Benjamin

Re: Review Request 25191: Switch [stout] to using compiler intrinsics for unreachable, exit, and abort

2014-09-25 Thread Cody Maloney
On Sept. 5, 2014, 9 p.m., Dominic Hamon wrote: 3rdparty/libprocess/3rdparty/stout/include/stout/unreachable.hpp, line 21 https://reviews.apache.org/r/25191/diff/1/?file=672334#file672334line21 can we use __builtin_unreachable instead? we should probably check for it

Re: Review Request 25945: Pass Promise to DispatchEvent to correctly discard on rejection.

2014-09-25 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25945/#review54571 --- This seems like a good approach, I'm curious if there's any room

Re: Review Request 25191: Switch [stout] to using compiler intrinsics for unreachable, exit, and abort

2014-09-25 Thread Patrick Reilly
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25191/ --- (Updated Sept. 25, 2014, 12:34 p.m.) Review request for mesos, Ben Mahler and

Review Request 26052: Add docker container prefix to docker docs

2014-09-25 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26052/ --- Review request for mesos and Niklas Nielsen. Repository: mesos-git

Re: Review Request 26052: Add docker container prefix to docker docs

2014-09-25 Thread Timothy Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26052/ --- (Updated Sept. 25, 2014, 7:37 p.m.) Review request for mesos and Niklas

Re: Review Request 26052: Add docker container prefix to docker docs

2014-09-25 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26052/#review54585 --- Ship it! Ship It! - Niklas Nielsen On Sept. 25, 2014, 12:37

Re: Review Request 25868: Refactor Libprocess: class ProcessReference

2014-09-25 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25868/#review54588 --- Ship it! Ship It! - Niklas Nielsen On Sept. 22, 2014, 6:18

Re: Review Request 25866: Updated semantics of disconnected/deactivated slaves/frameworks in master.

2014-09-25 Thread Vinod Kone
On Sept. 24, 2014, 11:39 p.m., Ben Mahler wrote: src/master/master.cpp, lines 743-744 https://reviews.apache.org/r/25866/diff/3/?file=700961#file700961line743 Why do we check slave-connected before calling disconnect below, but we don't check framework-connected here?

Re: Review Request 25867: Updated ping message to embed the slave registered status.

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25867/ --- (Updated Sept. 25, 2014, 8:41 p.m.) Review request for mesos and Ben Mahler.

Re: Review Request 26052: Add docker container prefix to docker docs

2014-09-25 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26052/#review54592 --- Patch looks great! Reviews applied: [26052] All tests passed. -

Re: Review Request 25191: Switch [stout] to using compiler intrinsics for unreachable, exit, and abort

2014-09-25 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25191/#review54593 --- Ship it! The whole chain looks good to me, can you reach out to

Review Request 26056: Prevent multiple definitions of synchronized header.

2014-09-25 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26056/ --- Review request for mesos and Niklas Nielsen. Repository: mesos-git

Re: Review Request 26056: Prevent multiple definitions of synchronized header.

2014-09-25 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26056/#review54596 --- 3rdparty/libprocess/src/synchronized.hpp

Re: Review Request 25986: Added reconcileTasks to python scheduler.

2014-09-25 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25986/#review54597 --- Ship it! Great, didn't realize this was all that's needed for

Re: Review Request 25986: Added reconcileTasks to python scheduler.

2014-09-25 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25986/ --- (Updated Sept. 25, 2014, 9:09 p.m.) Review request for mesos and Ben Mahler.

Re: Review Request 25986: Added reconcileTasks to python scheduler.

2014-09-25 Thread Niklas Nielsen
On Sept. 25, 2014, 2:08 p.m., Ben Mahler wrote: Great, didn't realize this was all that's needed for MESOS-1461, I'll assign that to you. Can you link the ticket into this review? Yeah - wired everything up but the last step :-P We should wire task reconciliation up in the test

Re: Review Request 25191: Switch [stout] to using compiler intrinsics for unreachable, exit, and abort

2014-09-25 Thread Dominic Hamon
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25191/#review54600 --- 3rdparty/libprocess/3rdparty/stout/include/stout/abort.hpp

Re: Review Request 25945: Pass Promise to DispatchEvent to correctly discard on rejection.

2014-09-25 Thread Dominic Hamon
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25945/ --- (Updated Sept. 25, 2014, 2:42 p.m.) Review request for mesos, Benjamin Hindman

Re: Review Request 26056: Prevent multiple definitions of synchronized header.

2014-09-25 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26056/#review54606 --- Patch looks great! Reviews applied: [26056] All tests passed. -

Review Request 26060: Refactor Libprocess: class HttpProxy

2014-09-25 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26060/ --- Review request for mesos and Niklas Nielsen. Repository: mesos-git

Re: Review Request 26060: Refactor Libprocess: class HttpProxy

2014-09-25 Thread Dominic Hamon
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26060/#review54612 --- 3rdparty/libprocess/src/event_manager.hpp

Jenkins build is back to normal : Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME #2125

2014-09-25 Thread Apache Jenkins Server
See https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/2125/changes

Re: Review Request 26060: Refactor Libprocess: class HttpProxy

2014-09-25 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26060/#review54616 --- Bad patch! Reviews applied: [26060] Failed command: make -j3

Build failed in Jenkins: mesos-reviewbot #1723

2014-09-25 Thread Apache Jenkins Server
See https://builds.apache.org/job/mesos-reviewbot/1723/changes Changes: [niklas] Added reconcileTasks to python scheduler. -- [...truncated 7953 lines...] warning: failed to remove mesos-0.21.0/m4/lt~obsolete.m4 warning: failed to remove

Re: Review Request 24177: Pass executor directory to Isolator::prepare().

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/24177/#review54618 --- Ship it! src/tests/isolator_tests.cpp

Re: Review Request 26056: Normalize enforce 3rdparty/libprocess conditional include style.

2014-09-25 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26056/ --- (Updated Sept. 25, 2014, 11:04 p.m.) Review request for mesos and Niklas

Re: Review Request 25861: Serialize isolator prepare and cleanup (reversed).

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25861/#review54619 --- lgtm, modulo comments. i'll let jie give the final shipit.

Re: Review Request 26056: Normalize enforce 3rdparty/libprocess conditional include style.

2014-09-25 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26056/#review54625 --- Ship it! Ship It! - Niklas Nielsen On Sept. 25, 2014, 4:04

Re: Review Request 26056: Normalize enforce 3rdparty/libprocess conditional include style.

2014-09-25 Thread Niklas Nielsen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26056/#review54626 --- 3rdparty/libprocess/src/net.hpp

Re: Review Request 26056: Normalize enforce 3rdparty/libprocess conditional include style.

2014-09-25 Thread Niklas Nielsen
On Sept. 25, 2014, 4:35 p.m., Niklas Nielsen wrote: 3rdparty/libprocess/src/net.hpp, line 232 https://reviews.apache.org/r/26056/diff/2/?file=705786#file705786line232 Missed this one s/HH/HPP/ Fixed it when committing - thanks! - Niklas

Re: Review Request 25622: Update the Mesos Style Guide with C++11 and naming notes.

2014-09-25 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25622/#review54629 --- Could you do a drive-by fix here to make the

Re: Review Request 25549: Basic filesystem isolator for Linux.

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25549/#review54627 --- src/slave/containerizer/isolators/filesystem/shared.cpp

Re: Review Request 25863: Rename stout/os/setns.hpp to namespaces.hpp.

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25863/#review54630 --- Ship it! Ship It! - Vinod Kone On Sept. 23, 2014, 11:39 p.m.,

Re: Review Request 25965: Update libprocess Makefile for setns namechange.

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25965/#review54632 --- Ship it! Ship It! - Vinod Kone On Sept. 24, 2014, 6:13 p.m.,

Re: Review Request 25964: Update libprocess Makefile for setns namechange.

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25964/#review54631 --- Ship it! Ship It! - Vinod Kone On Sept. 24, 2014, 6:14 p.m.,

Jenkins build is back to normal : mesos-reviewbot #1724

2014-09-25 Thread Apache Jenkins Server
See https://builds.apache.org/job/mesos-reviewbot/1724/

Re: Review Request 25848: Introducing mesos modules.

2014-09-25 Thread Kapil Arya
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25848/ --- (Updated Sept. 25, 2014, 8:45 p.m.) Review request for mesos, Benjamin

Re: Review Request 25865: Pid namespace isolator for the MesosContainerizer.

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25865/#review54637 --- src/slave/containerizer/isolators/namespaces/pid.hpp

Re: Review Request 25865: Pid namespace isolator for the MesosContainerizer.

2014-09-25 Thread Vinod Kone
On Sept. 26, 2014, 1:17 a.m., Vinod Kone wrote: Can you attach the bug. Also, need documentation. - Vinod --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25865/#review54637

Re: Review Request 25848: Introducing mesos modules.

2014-09-25 Thread Kapil Arya
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25848/ --- (Updated Sept. 25, 2014, 9:27 p.m.) Review request for mesos, Benjamin

Re: Review Request 25966: Use pid namespace in LinuxLauncher::destroy().

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25966/#review54641 --- src/slave/containerizer/linux_launcher.cpp

Re: Review Request 25864: Add 'FutureNothing cgroups::empty()'.

2014-09-25 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25864/#review54643 --- Ship it! lgtm modulo comments. - Vinod Kone On Sept. 23, 2014,

Re: Review Request 25549: Basic filesystem isolator for Linux.

2014-09-25 Thread Vinod Kone
On Sept. 25, 2014, 11:56 p.m., Vinod Kone wrote: Mind adding documentation for this? - Vinod --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25549/#review54627

Re: Review Request 25848: Introducing mesos modules.

2014-09-25 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25848/#review54646 --- Patch looks great! Reviews applied: [25848] All tests passed. -

Review Request 26069: Introduce ClangFormat to Mesos.

2014-09-25 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26069/ --- Review request for mesos, Benjamin Hindman, Cody Maloney, Dominic Hamon, and

Review Request 26071: Sample isolator module.

2014-09-25 Thread Kapil Arya
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26071/ --- Review request for mesos, Bernd Mathiske and Niklas Nielsen. Bugs: MESOS-1384

Re: Review Request 26069: Introduce ClangFormat to Mesos.

2014-09-25 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26069/ --- (Updated Sept. 26, 2014, 5:56 a.m.) Review request for mesos, Benjamin