Re: Mesos Spark Fine Grained Execution - CPU count

2016-12-19 Thread Joris Van Remoortere
more CPU the amortized cost of the idle executors would not be such a big deal. — *Joris Van Remoortere* Mesosphere On Mon, Dec 19, 2016 at 11:26 AM, Timothy Chen wrote: > Hi Chawla, > > One possible reason is that Mesos fine grain mode also takes up cores > to run the executor per

Re: thread_local supported on Apple

2016-12-19 Thread Joris Van Remoortere
tting the impression that it's reasonable to make this change without a deprecation cycle. Please let me know if you (anyone) disagrees. — *Joris Van Remoortere* Mesosphere On Mon, Dec 19, 2016 at 2:17 PM, Zameer Manji wrote: > I believe this thread_local support is in XCode 8.2. From

Re: thread_local supported on Apple

2016-12-21 Thread Joris Van Remoortere
is not too high for current developers on Apple systems then this is a pretty easy fix :-) Joris — *Joris Van Remoortere* Mesosphere On Tue, Dec 20, 2016 at 5:02 PM, Vinod Kone wrote: > A consequence of using `__thread` on Apple is that initializers for thread > locals are require

Re: Review Request 29526: Replaced network::socket with network::Socket.

2015-01-22 Thread Joris Van Remoortere
tps://reviews.apache.org/r/29526/#comment113892> Just a note. We can replace this with the default bind once https://reviews.apache.org/r/28485/ lands. - Joris Van Remoortere On Jan. 2, 2015, 4:45 a.m., Benjamin Hindman wrote: > > ---

Re: Review Request 29527: Moved network::* functions into network.hpp.

2015-01-22 Thread Joris Van Remoortere
/network.hpp <https://reviews.apache.org/r/29527/#comment113897> "Failed to bind on: "? 3rdparty/libprocess/include/process/network.hpp <https://reviews.apache.org/r/29527/#comment113898> "Failed to connect to: "? - Joris Van Remoortere On Jan. 2, 2015, 4

Re: Review Request 29528: Added std::string overloads of Socket::recv/send.

2015-01-22 Thread Joris Van Remoortere
t; Same as comment on line 87. 3rdparty/libprocess/src/socket.cpp <https://reviews.apache.org/r/29528/#comment113917> re l85: new Socket(socket())? - Joris Van Remoortere On Jan. 21, 2015, 5:42 p.m., Benjamin Hindman wrote: > > -

Re: Review Request 29529: Used network::Socket instead of network::socket for http::get/post.

2015-01-22 Thread Joris Van Remoortere
t using the Socket*? 3rdparty/libprocess/src/http.cpp <https://reviews.apache.org/r/29529/#comment113929> Why the choice of -1 versus the default of the function that reads till EOF? - Joris Van Remoortere On Jan. 2, 2015, 4:46 a.m.

Re: Review Request 29530: Used new std::string Socket::recv/send overloads in tests.

2015-01-22 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29530/#review69291 --- Ship it! Ship It! - Joris Van Remoortere On Jan. 2, 2015, 4:46

Re: Review Request 29531: Fix weird outputing when running configure.

2015-01-22 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29531/#review69293 --- Ship it! Ship It! - Joris Van Remoortere On Jan. 21, 2015, 5:43

Re: Review Request 29532: Fixed style formatting.

2015-01-22 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29532/#review69294 --- Ship it! Ship It! - Joris Van Remoortere On Jan. 2, 2015, 4:46

Re: Review Request 29533: Added a URL abstraction to stout.

2015-01-22 Thread Joris Van Remoortere
aracter. For example, if we had an overload for std::pair in stringify, then we could pass the hashmap to the string::join('&', url.query) function. We might also want to support a strings::join for iterable that appends to the stream (like the templated ver

Re: Review Request 29534: Added http::get/put/post that take URL.

2015-01-22 Thread Joris Van Remoortere
This is the same (painful) code as in the URL streamer. Maybe this can be factored out? - Joris Van Remoortere On Jan. 21, 2015, 5:45 p.m., Benjamin Hindman wrote: > > --- > This is an automatically generated e-m

Re: Review Request 29535: Added Future::repair.

2015-01-22 Thread Joris Van Remoortere
in the chain even for successful futures. This will degrade performance of healthy systems. Can we refactor this such that the callback is only called when we are actually in a failure scenario? - Joris Van Remoortere On Jan. 21, 2015, 5:47 p.m., Benjamin Hindman

Re: Review Request 29536: Removed unnecessary overloads of Future::after.

2015-01-22 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29536/#review69310 --- Ship it! Ship It! - Joris Van Remoortere On Jan. 2, 2015, 4:46

Re: Review Request 29538: Replaced Node with network::Address.

2015-01-22 Thread Joris Van Remoortere
comment that we should either improve the performance around this, or that it's not meant to be used lightly? Especially, the constness of the function suggests it might be really cheap (as if we had stored a cached Address object upon bind). - Joris Van Remoortere On Jan. 21, 2015,

Re: Review Request 29540: Added an Address::family() function.

2015-01-22 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29540/#review69313 --- Ship it! Ship It! - Joris Van Remoortere On Jan. 2, 2015, 4:46

Re: Review Request 29541: Added network::resolve and network::hostname.

2015-01-22 Thread Joris Van Remoortere
terminated so we don't have to memset the char array? - Joris Van Remoortere On Jan. 21, 2015, 5:56 p.m., Benjamin Hindman wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 29288: stout: Created IP address abstraction for different protocol families

2015-01-26 Thread Joris Van Remoortere
is more resilient to change, and removes the implicit knowledge that we're picking on this element in the union because we know it to be the largest one. - Joris Van Remoortere On Jan. 26, 2015, 6:56 p.m., Evelina Dumitrescu wrote: > > --

Re: Review Request 29288: stout: Created IP address abstraction for different protocol families

2015-01-26 Thread Joris Van Remoortere
(inet_pton(AF_INET, value.c_str(), &in.inAddr_) == 0) { if (inet_pton(AF_INET6, value.c_str(), &in.inAddr6_) { error... } return IP::InAddrStorage(in.inAddr6_); } else { return IP::InAddrStorage(in.inAddr_); } ``` - Joris Van Remoor

Re: Review Request 29289: libprocess: Created IP address abstraction for different protocol families

2015-01-26 Thread Joris Van Remoortere
t; This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/29289/ > --- > > (Updated Jan. 26, 2015, 6:56 p.m.) > > > Review request for mesos, Benjamin Hindman, Dominic Hamon, Jie Yu, Joris Van > Remoortere, and Niklas Nielsen. >

Re: Review Request 29288: stout: Created IP address abstraction for different protocol families

2015-01-27 Thread Joris Van Remoortere
lt;https://reviews.apache.org/r/29288/#comment114662> indentation as above. - Joris Van Remoortere On Jan. 27, 2015, 4:58 p.m., Evelina Dumitrescu wrote: > > --- > This is an automatically generated e-mail. To reply, vi

Re: Review Request 29288: stout: Created IP address abstraction for different protocol families

2015-01-27 Thread Joris Van Remoortere
.apache.org/r/29288/#comment114697> Indentation. 3rdparty/libprocess/3rdparty/stout/tests/net_tests.cpp <https://reviews.apache.org/r/29288/#comment114698> Can you check the indentation here? - Joris Van Remoortere On Jan. 27, 2015, 4:58 p.m., Evelina Dumitrescu wrote: >

Re: Review Request 29288: stout: Created IP address abstraction for different protocol families

2015-01-27 Thread Joris Van Remoortere
> On Jan. 27, 2015, 6:32 p.m., Joris Van Remoortere wrote: > > 3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp, line 259 > > <https://reviews.apache.org/r/29288/diff/9-10/?file=834346#file834346line259> > > > > I think the pattern here is 2 spaces,

Re: Review Request 29288: stout: Created IP address abstraction for different protocol families

2015-01-27 Thread Joris Van Remoortere
> On Jan. 27, 2015, 8:14 p.m., Joris Van Remoortere wrote: > > 3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp, line 853 > > <https://reviews.apache.org/r/29288/diff/10/?file=836987#file836987line853> > > > > Fix indentation. > > Evelina Dumi

Re: Review Request 29288: stout: Created IP address abstraction for different protocol families

2015-01-27 Thread Joris Van Remoortere
tps://reviews.apache.org/r/29288/#comment114756> Missing a default case. 3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp <https://reviews.apache.org/r/29288/#comment114757> Missing a default case. - Joris Van Remoortere On Jan. 27, 2015, 11:05 p.m., Evelina Dumi

Re: Review Request 29288: stout: Created IP address abstraction for different protocol families

2015-01-28 Thread Joris Van Remoortere
> On Jan. 27, 2015, 8:14 p.m., Joris Van Remoortere wrote: > > 3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp, line 1030 > > <https://reviews.apache.org/r/29288/diff/10/?file=836987#file836987line1030> > > > > Might be worth pulling this out as a

Re: Review Request 29288: stout: Created IP address abstraction for different protocol families

2015-01-28 Thread Joris Van Remoortere
> On Jan. 27, 2015, 8:14 p.m., Joris Van Remoortere wrote: > > 3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp, line 1030 > > <https://reviews.apache.org/r/29288/diff/10/?file=836987#file836987line1030> > > > > Might be worth pulling this out as a

Re: Review Request 29538: Replaced Node with network::Address.

2015-01-28 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29538/#review70141 --- Ship it! Ship It! - Joris Van Remoortere On Jan. 21, 2015, 5:49

Re: Review Request 29526: Replaced network::socket with network::Socket.

2015-01-30 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29526/#review70425 --- Ship it! Ship It! - Joris Van Remoortere On Jan. 2, 2015, 4:45

Re: Review Request 28763: Add configure flag to enable SSL.

2015-01-31 Thread Joris Van Remoortere
: https://reviews.apache.org/r/28763/diff/ Testing --- configure with '--enable-libevent --enable--ssl' and without. Thanks, Joris Van Remoortere

Re: Review Request 29406: WIP: Introduce libevent ssl socket.

2015-01-31 Thread Joris Van Remoortere
--- make check (uses non-ssl socket) benchmarks using ssl sockets master, slave, framework, webui launch with ssl sockets Thanks, Joris Van Remoortere

Re: Review Request 29406: WIP: Introduce libevent ssl socket.

2015-02-08 Thread Joris Van Remoortere
/ Testing --- make check (uses non-ssl socket) benchmarks using ssl sockets master, slave, framework, webui launch with ssl sockets Thanks, Joris Van Remoortere

Re: Review Request 29406: WIP: Introduce libevent ssl socket.

2015-02-08 Thread Joris Van Remoortere
tps://reviews.apache.org/r/29406/#comment117272> Turn this into non-c++11 lambda - Joris Van Remoortere On Feb. 6, 2015, 11:43 p.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply,

Review Request 30808: Fix high CPU bug. MESOS-2325.

2015-02-09 Thread Joris Van Remoortere
oring changes. Thanks, Joris Van Remoortere

Re: Review Request 30808: Fix high CPU bug. MESOS-2325.

2015-02-09 Thread Joris Van Remoortere
g/r/30808/#comment117590> return None() if we don't want to fire. - Joris Van Remoortere On Feb. 9, 2015, 11:21 p.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To r

Re: Review Request 30808: Fix high CPU bug. MESOS-2325.

2015-02-09 Thread Joris Van Remoortere
ample listed in MESOS-2325. Constructed many timers in decrementing time (i.e. 500, 499,498, etc.). CPU utilization during this test went down greatly and is on par with code prior to the clock refactoring changes. Thanks, Joris Van Remoortere

Re: Review Request 30808: Fix high CPU bug. MESOS-2325.

2015-02-10 Thread Joris Van Remoortere
g/r/30808/#comment11> Re-organize this to keep next() simple. Introduce a schedule() to uses next and manipulates the global. Return an Option rather than duration so there is no information loss. - Joris Van Remoortere On Feb. 10, 2015, 2:22 a.m., Joris Van Remoortere

Re: Review Request 30884: Removed non-POD static function object in clock.

2015-02-11 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30884/#review71998 --- Ship it! Ship It! - Joris Van Remoortere On Feb. 11, 2015, 6:40

Re: Review Request 30808: Fix high CPU bug. MESOS-2325.

2015-02-12 Thread Joris Van Remoortere
this test with 25K timers, with 10 firing every millisecond. ~3% cpu usage on a macbook. Thanks, Joris Van Remoortere

Re: Review Request 30952: Adding scheduler validations to master

2015-02-13 Thread Joris Van Remoortere
-line case statements? ```c++ switch (val) { case 1: { ... break; } case 1: { ... break; } } ``` - Joris Van Remoortere On Feb. 13, 2015, 6:54 p.m., Isabel Jimenez wrote: > > -

Re: Review Request 28763: Add configure flag to enable SSL.

2015-02-17 Thread Joris Van Remoortere
On Jan. 31, 2015, 11:27 p.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/28763/ > ---

Re: Review Request 30808: Fix high CPU bug. MESOS-2325.

2015-02-17 Thread Joris Van Remoortere
g/r/30808/#comment118878> Do this in clock::pause() once instead of multiple places. improves readability. Here and below. - Joris Van Remoortere On Feb. 12, 2015, 11:14 p.m., Joris Van Remoortere wrote: > > --- > This is a

Review Request 31139: Change EventLoop::delay to use lambda::function.

2015-02-17 Thread Joris Van Remoortere
rocess/src/libev.cpp 0e8d44cdc1daa258faafc30b5caf4a827ce6cbc1 3rdparty/libprocess/src/libevent.cpp 28c2cf7f49cc153158f2a470a1812e35f7d4b93a Diff: https://reviews.apache.org/r/31139/diff/ Testing --- make check. Thanks, Joris Van Remoortere

Re: Review Request 31141: Fixed a clock bug in next().

2015-02-17 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/31141/#review72888 --- Ship it! Ship It! - Joris Van Remoortere On Feb. 18, 2015, 3:11

Re: Review Request 31145: Fixed a CPU-intensive bug in libprocess' clock.

2015-02-17 Thread Joris Van Remoortere
advance / update as opposed to moving it up to paused? - Joris Van Remoortere On Feb. 18, 2015, 3:12 a.m., Ben Mahler wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 29406: Introduce libevent ssl socket.

2015-02-18 Thread Joris Van Remoortere
/diff/ Testing --- make check (uses non-ssl socket) benchmarks using ssl sockets master, slave, framework, webui launch with ssl sockets Thanks, Joris Van Remoortere

Re: Review Request 29406: Introduce libevent ssl socket.

2015-02-18 Thread Joris Van Remoortere
://reviews.apache.org/r/29406/diff/ Testing --- make check (uses non-ssl socket) benchmarks using ssl sockets master, slave, framework, webui launch with ssl sockets Thanks, Joris Van Remoortere

Re: Review Request 29406: Introduce libevent ssl socket.

2015-02-19 Thread Joris Van Remoortere
s/src/socket.cpp 4b0f6bec8051f938812dbc90a7312e4082ea203f Diff: https://reviews.apache.org/r/29406/diff/ Testing --- make check (uses non-ssl socket) benchmarks using ssl sockets master, slave, framework, webui launch with ssl sockets Thanks, Joris Van Remoortere

Review Request 31207: WIP: Support for SSL and non-ssl traffic simultaneously.

2015-02-19 Thread Joris Van Remoortere
- connect an ssl slave - connect an ssl framework Thanks, Joris Van Remoortere

Review Request 31218: MESOS-2377: Fix leak in libevent EventLoop::handle_delay.

2015-02-19 Thread Joris Van Remoortere
--tool=massif Thanks, Joris Van Remoortere

Re: Review Request 31218: MESOS-2377: Fix leak in libevent EventLoop::handle_delay.

2015-02-19 Thread Joris Van Remoortere
- Joris --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/31218/#review73254 --- On Feb. 20, 2015, 4:31 a.m., Joris Van Remoort

Re: Review Request 29406: Introduce libevent ssl socket.

2015-02-19 Thread Joris Van Remoortere
ocket) benchmarks using ssl sockets master, slave, framework, webui launch with ssl sockets Thanks, Joris Van Remoortere

Re: Review Request 29406: Introduce libevent ssl socket.

2015-03-11 Thread Joris Van Remoortere
g/r/29406/#comment123548> Use the verify flag correctly. Currently it is being ignored and we always verify the cert if provided. - Joris Van Remoortere On Feb. 20, 2015, 7:24 a.m., Joris Van Remoortere wrote: > > ---

Re: Review Request 29406: Introduce libevent ssl socket.

2015-03-11 Thread Joris Van Remoortere
e4082ea203f Diff: https://reviews.apache.org/r/29406/diff/ Testing --- make check (uses non-ssl socket) benchmarks using ssl sockets master, slave, framework, webui launch with ssl sockets Thanks, Joris Van Remoortere

Re: Review Request 31930: Introduced an http::Pipe abstraction to simplify streaming HTTP Responses.

2015-03-12 Thread Joris Van Remoortere
these to None() to signify EOF. 3rdparty/libprocess/src/process.cpp <https://reviews.apache.org/r/31930/#comment123820> Can you leave a comment as to why you took a copy before calling 'close()'? (To remove constness). Here and below. 3rdparty/libprocess/src/tests/http_tests.cpp &l

Re: Review Request 32151: Add MESOS_{MAJOR|MINOR|PATCH}_VERSION to libmesos.

2015-03-17 Thread Joris Van Remoortere
668647fdfc0e203fcde59263256659ba14e29960 src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp PRE-CREATION Diff: https://reviews.apache.org/r/32151/diff/ Testing --- Thanks, Joris Van Remoortere

Re: Review Request 32152: Fix memory corruption in AbstractState JNI bindings. MESOS-2161.

2015-03-17 Thread Joris Van Remoortere
1accc8a498a68b7cfd9e39dc1f3ce01c8bfd219f src/java/src/org/apache/mesos/state/AbstractState.java c66bf0519e7fc671d1e167ccd1e778dc65d3d8e6 Diff: https://reviews.apache.org/r/32152/diff/ Testing --- Thanks, Joris Van Remoortere

Re: Review Request 28254: http: Allow sending Request objects

2015-03-19 Thread Joris Van Remoortere
? - Joris Van Remoortere On Nov. 20, 2014, 12:54 a.m., Cody Maloney wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 29541: Added network::resolve and network::hostname.

2015-03-19 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29541/#review77068 --- @benh: is this still relevant? - Joris Van Remoortere On Jan. 31

Re: Review Request 28485: Provide a default bind() in Socket: any port localhost.

2015-03-19 Thread Joris Van Remoortere
--- make check Thanks, Joris Van Remoortere

Re: Review Request 28485: Provide a default bind() in Socket: any port localhost.

2015-03-20 Thread Joris Van Remoortere
://reviews.apache.org/r/28485/diff/ Testing --- make check Thanks, Joris Van Remoortere

Re: Review Request 28485: Provide a default bind() in Socket: any port localhost.

2015-03-20 Thread Joris Van Remoortere
2c4258775bd90f91f1922a3cf2bb4ddf5c334881 3rdparty/libprocess/src/process.cpp e7b029ba97e640c2102548c190ba62b30602f43d Diff: https://reviews.apache.org/r/28485/diff/ Testing --- make check Thanks, Joris Van Remoortere

Re: Review Request 28485: Provide a default bind() in Socket: any port localhost.

2015-03-20 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28485/#review77122 ------- On March 20, 2015, 6:24 p.m., Joris Van Remoortere wrote: > > -

Re: Review Request 32151: Add MESOS_{MAJOR|MINOR|PATCH}_VERSION to libmesos.

2015-03-26 Thread Joris Van Remoortere
/jni/org_apache_mesos_MesosNativeLibrary.cpp PRE-CREATION src/tests/common/version_tests.cpp PRE-CREATION Diff: https://reviews.apache.org/r/32151/diff/ Testing --- Thanks, Joris Van Remoortere

Re: Review Request 32550: Add major, minor, and patch accessors to stout's Version.

2015-03-26 Thread Joris Van Remoortere
() and minor() (http://man.he.net/man3/gnu_dev_major) Diffs - 3rdparty/libprocess/3rdparty/stout/include/stout/version.hpp 090fcf09dd96538a8748cf4443d150911e2c0d27 Diff: https://reviews.apache.org/r/32550/diff/ Testing --- Thanks, Joris Van Remoortere

Re: Review Request 32152: Fix memory corruption in AbstractState JNI bindings. MESOS-2161.

2015-03-26 Thread Joris Van Remoortere
1accc8a498a68b7cfd9e39dc1f3ce01c8bfd219f src/java/src/org/apache/mesos/state/AbstractState.java c66bf0519e7fc671d1e167ccd1e778dc65d3d8e6 Diff: https://reviews.apache.org/r/32152/diff/ Testing --- Thanks, Joris Van Remoortere

Re: Review Request 32151: Add MESOS_{MAJOR|MINOR|PATCH}_VERSION to libmesos.

2015-03-27 Thread Joris Van Remoortere
/version_tests.cpp PRE-CREATION Diff: https://reviews.apache.org/r/32151/diff/ Testing --- Thanks, Joris Van Remoortere

Re: Review Request 32152: Fix memory corruption in AbstractState JNI bindings. MESOS-2161.

2015-03-27 Thread Joris Van Remoortere
Diff: https://reviews.apache.org/r/32152/diff/ Testing --- Thanks, Joris Van Remoortere

Re: Review Request 32152: Fix memory corruption in AbstractState JNI bindings. MESOS-2161.

2015-03-27 Thread Joris Van Remoortere
-------------- On March 27, 2015, 10:43 p.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/32152/ >

Review Request 32630: Add style change proposal for constant reference to temporaries.

2015-03-30 Thread Joris Van Remoortere
mporary.md PRE-CREATION Diff: https://reviews.apache.org/r/32630/diff/ Testing --- The 'output' in the proposal shows the problem. Thanks, Joris Van Remoortere

[Style Proposal] Disallow Capture by Constant Reference to temporary

2015-03-30 Thread Joris Van Remoortere
I would like to propose we disallow capturing temporaries using a constant reference: const T& val = f(); *The reasons, and examples for this are outlined in the proposal here:* [Review Board]: https://reviews.apache.org/r/32630/ [original markdown version]: https://gist.github.com/jmlvanre/8a3de5

Re: Review Request 32558: Improve compile time of mesos by splitting flags

2015-03-30 Thread Joris Van Remoortere
ate proposal / patch. - Joris Van Remoortere On March 27, 2015, 1:21 a.m., Cody Maloney wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > ht

Re: Review Request 32583: Marked RunTaskMessage::framework_id as optional.

2015-04-02 Thread Joris Van Remoortere
583/#comment127658> Add deprecated tag to indicate that no one should use this going forward. It doesn't affect the C++ code and only adds @deprecated for Java. optional FrameworkID framework_id = 1 [deprecated = true]; - Joris Van Remoortere On April 1, 2015, 7:34 p.m.,

Re: Review Request 32911: Fixed sandbox ownership bug for executors without URIs.

2015-04-06 Thread Joris Van Remoortere
tps://reviews.apache.org/r/32911/#comment128199> Can we remove the capture by reference here? I know it's not in the style guide yet, but it will likely be accepted. - Joris Van Remoortere On April 7, 2015, 12:40 a.m., Niklas Ni

Re: Review Request 32859: Add Camel-case libprocess variable and method names sample.

2015-04-06 Thread Joris Van Remoortere
for you :-) - Joris Van Remoortere On April 6, 2015, 9:19 p.m., haosdent huang wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 27113: Libprocess benchmark cleanup

2015-04-10 Thread Joris Van Remoortere
s/src/tests/benchmarks.cpp a927e4ecd8c8955cd9f85e716173a73a9a21c6cd Diff: https://reviews.apache.org/r/27113/diff/ Testing --- make check Thanks, Joris Van Remoortere

Re: Changing Mesos Minimum Compiler Version

2015-04-09 Thread Joris Van Remoortere
+1 On Thu, Apr 9, 2015 at 2:14 PM, Cody Maloney wrote: > As discussed in the last community meeting, we'd like to bump the minimum > required compiler version from GCC 4.4 to GCC 4.8. > > The overall goals are to make Mesos development safer, faster, and reduce > the maintenance burden. Currentl

Re: Review Request 27113: Libprocess benchmark cleanup

2015-04-13 Thread Joris Van Remoortere
tests/benchmarks.cpp a927e4ecd8c8955cd9f85e716173a73a9a21c6cd Diff: https://reviews.apache.org/r/27113/diff/ Testing --- make check Thanks, Joris Van Remoortere

Re: Review Request 32961: WIP: Allow framework re-registeration to update master http fields.

2015-04-13 Thread Joris Van Remoortere
https://reviews.apache.org/r/32961/diff/ Testing --- make check. re-registered no_executor_framework with different 'name', 'hostname', 'failover_timeout', and 'webui_url' Thanks, Joris Van Remoortere

Review Request 33159: Pump updateFramework through Allocator from Master.

2015-04-13 Thread Joris Van Remoortere
src/tests/mesos.hpp 42e42ac425a448fcc5e93db1cef1112cbf5e67c4 Diff: https://reviews.apache.org/r/33159/diff/ Testing --- make check Thanks, Joris Van Remoortere

Re: Review Request 32961: Allow framework re-registeration to update master http fields.

2015-04-14 Thread Joris Van Remoortere
a005d55a36880e3 src/master/master.cpp 44b0a0147f5354824d86332a67b30018634c9a36 Diff: https://reviews.apache.org/r/32961/diff/ Testing --- make check. re-registered no_executor_framework with different 'name', 'hostname', 'failover_timeout', and 'webui_url' Thanks, Joris Van Remoortere

Re: Oversubscription design doc

2015-04-14 Thread Joris Van Remoortere
We have a dedicated IRC channel for this: "mesos-oversubscription". Feel free to drop in and chat. On Tue, Apr 14, 2015 at 11:09 AM, Niklas Nielsen wrote: > Hi everyone, > > In context of some of the recent discussions on 'Resource overcommittal', > we are very interested and invested in enablin

Re: Review Request 27113: Libprocess benchmark cleanup

2015-04-14 Thread Joris Van Remoortere
/src/tests/benchmarks.cpp a927e4ecd8c8955cd9f85e716173a73a9a21c6cd Diff: https://reviews.apache.org/r/27113/diff/ Testing --- make check Thanks, Joris Van Remoortere

Re: Suggestion: Mesos 0.22.1 point release

2015-04-14 Thread Joris Van Remoortere
I think the plan is to cut a new RC by sometime tomorrow. The spreadsheet is up-to-date, just need to cherry-pick and modify the change-log. Joris On Tue, Apr 14, 2015 at 5:37 PM, Benjamin Mahler wrote: > Hey Nik, any progress on this? Is the spreadsheet up-to-date? > > On Wed, Apr 8, 2015 at 1

Re: Review Request 29406: Introduce libevent ssl socket.

2015-04-17 Thread Joris Van Remoortere
67b6b3b9c13d95fa1a24b48a12c5c831c7f249bf 3rdparty/libprocess/src/socket.cpp 4b0f6bec8051f938812dbc90a7312e4082ea203f Diff: https://reviews.apache.org/r/29406/diff/ Testing --- make check (uses non-ssl socket) benchmarks using ssl sockets master, slave, framework, webui launch with ssl sockets Thanks, Joris Van

Re: Review Request 27113: Libprocess benchmark cleanup

2015-04-17 Thread Joris Van Remoortere
org/r/27113/diff/ Testing --- make check Thanks, Joris Van Remoortere

Re: Review Request 27113: Libprocess benchmark cleanup

2015-04-17 Thread Joris Van Remoortere
> > figure out how we can make it more easily understandable :) Take a look at the updated review. I'll let you mark this as fixed if you approve :-) - Joris --- This is an automatically generated e-mail. To reply,

Re: Review Request 33376: MESOS-2633 Moved struct Framework methods to their own implementation class.

2015-04-20 Thread Joris Van Remoortere
heck the style guide for includes here? src/master/framework.cpp <https://reviews.apache.org/r/33376/#comment131065> Can we split out any code changes into a seperate review (with a JIRA)? Here and elsewhere. See my high-level comment at the top of the review. src/master/master.hpp &l

Re: Changing Mesos Minimum Compiler Version

2015-04-21 Thread Joris Van Remoortere
rize and move on here. > > > > Proposal out on April 9, 2015. Current status (as of April 21, 2015): > > > > > > +1 (Binding) > > -- > > Vinod Kone > > Timothy Chen > > Yan Xu > > Brenden Matthews > &

Re: Review Request 33376: MESOS-2633 Moved struct Framework methods to their own implementation class.

2015-04-21 Thread Joris Van Remoortere
> On April 21, 2015, 3:27 a.m., Joris Van Remoortere wrote: > > Hey Marco, great first patch! > > Some high level comments: > > - Can you check your editor settings to make sure you don't modify lines > > you don't intend? > > - Just do a quick look

Re: constexpr and non-POD static variables

2015-05-28 Thread Joris Van Remoortere
We had an internal discussion about this. White-listing constexpr is fine by us. I think technically the google style guide allows c++11 features that are not explicitly disallowed, but it doesn't hurt to add it to the style guide :-) Joris On Thu, May 28, 2015 at 4:27 PM, Paul Brett wrote: > D

Re: constexpr and non-POD static variables

2015-05-28 Thread Joris Van Remoortere
015 at 4:45 PM, Joris Van Remoortere > > wrote: > > > We had an internal discussion about this. White-listing constexpr is fine > > by us. > > I think technically the google style guide allows c++11 features that are > > not explicitly disallowed, but it doesn&#

Re: Difference between registered() and reregistered() in scheduler driver

2017-01-17 Thread Joris Van Remoortere
These 2 JIRAs might be helpful: https://issues.apache.org/jira/browse/MESOS-786 https://issues.apache.org/jira/browse/MESOS-6249 — *Joris Van Remoortere* Mesosphere On Tue, Jan 17, 2017 at 5:31 PM, Zhitao Li wrote: > Hi, > > I'm helping a scheduler author to deal with a prob

Re: How to consistent handle default values for message types

2017-02-07 Thread Joris Van Remoortere
derstanding whether you mean leaving the message unset, or the field? — *Joris Van Remoortere* Mesosphere On Thu, Feb 2, 2017 at 3:06 PM, Yan Xu wrote: > With protobuf you can specify custom default values for scalar types > (proto2 at least) but not message types, e.g., > >

Re: Let MesosContainerizer support ramdisk.

2017-02-10 Thread Joris Van Remoortere
This looks interesting. I would recommend creating a JIRA and attaching it to the review. One preliminary question: Can we not probe the filesystem to identify whether it is a RAM_FS? Why do we need to add administrator flags for this? — *Joris Van Remoortere* Mesosphere On Wed, Dec 28, 2016

Re: Proposal for Mesos Build Improvements

2017-02-15 Thread Joris Van Remoortere
file reduces the compile time. A good example of heave .o files are the mesos tests that scan close to all of stout / libprocess for each test file. — *Joris Van Remoortere* Mesosphere On Tue, Feb 14, 2017 at 4:49 PM, Jeff Coffler < jeff.coff...@microsoft.com.invalid> wrote: > Hi Neil, &

Discarded Stale Reviews

2017-03-01 Thread Joris Van Remoortere
Hello developers, It has come that time again where our review backlog got too long. As we have done previously, I've discarded older reviews. This time all reviews that had been inactive for over 2 months. If I discarded one of your reviews you should have received an e-mail directed at the addr

Re: Proposal: Precompiled headers for Windows use in cmake

2017-03-28 Thread Joris Van Remoortere
As if you don't plan on following up on this yourself in the near future? — *Joris Van Remoortere* Mesosphere On Mon, Mar 27, 2017 at 4:03 PM, Jeff Coffler < jeff.coff...@microsoft.com.invalid> wrote: > I had previously send an E-Mail to the Mesos DEV list on Tue 2/14/2017 > 1

Review Request 25789: Variadic strings join for c++11 and above

2014-09-18 Thread Joris Van Remoortere
/include/stout/strings.hpp a1702cd 3rdparty/libprocess/3rdparty/stout/tests/strings_tests.cpp 51008e5 Diff: https://reviews.apache.org/r/25789/diff/ Testing --- Ran make check for stout. Added test cases for join as these were missing. Thanks, Joris Van Remoortere

Re: Review Request 25079: Replaced macro expansion with variadic template

2014-09-18 Thread Joris Van Remoortere
> On Sept. 12, 2014, 7:03 p.m., Ben Mahler wrote: > > Thanks for doing this! A few higher level comments: > > > > (1) We have strings::join in stout. Have you considered implementing this > > TLineHelper as a generic Joiner in stout/strings.hpp? Seems like it belongs > > there instead of a new

<    1   2   3   4   5   >