Re: Review Request 46249: Hook and module process operation before main process initialize.

2016-04-19 Thread Joseph Wu
ading flags. - Joseph Wu On April 18, 2016, 7:52 p.m., Andy Pang wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46249/ > ---

Review Request 46411: Removed private header from the balloon framework.

2016-04-19 Thread Joseph Wu
framework were compiled outside of Mesos. Diffs - src/examples/balloon_framework.cpp 15c45612b777edaf97aea9b953439d4ad56920f3 Diff: https://reviews.apache.org/r/46411/diff/ Testing --- make check Thanks, Joseph Wu

Review Request 46407: Updated balloon executor.

2016-04-19 Thread Joseph Wu
src/examples/balloon_executor.cpp 108ebd9afec5b2d592ffbe5c150a9271f1899f2c Diff: https://reviews.apache.org/r/46407/diff/ Testing --- See next review in this chain. Thanks, Joseph Wu

Re: Review Request 45604: Updated the balloon framework and executor.

2016-04-19 Thread Joseph Wu
/ Testing --- ``` make check sudo bin/mesos-tests.sh --gtest_filter="*ROOT_CGROUPS_BalloonFramework" ``` Thanks, Joseph Wu

Re: Review Request 45905: Added metrics to the balloon framework.

2016-04-19 Thread Joseph Wu
sk_memory=256MB --executor_uri="https://s3.amazonaws.com/url/to/balloon-executor"; --executor_command="LD_LIBRARY_PATH=/path/to/libmesos && ./balloon-executor" ``` Thanks, Joseph Wu

Re: Review Request 45604: Updated the balloon framework and executor.

2016-04-19 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45604/#review129187 --- On April 19, 2016, 2:51 p.m., Joseph Wu wrote: > >

Re: Review Request 45604: Updated the balloon framework and executor.

2016-04-19 Thread Joseph Wu
> On April 12, 2016, 3:46 p.m., Vinod Kone wrote: > > src/examples/balloon_executor.cpp, lines 143-153 > > <https://reviews.apache.org/r/45604/diff/2/?file=1337947#file1337947line143> > > > > Why the change here? > > Joseph Wu wrote: > I coup

Re: Review Request 46456: Clarified and improved documentation for maintenance primitives.

2016-04-20 Thread Joseph Wu
(line 303) <https://reviews.apache.org/r/46456/#comment193372> Nit: The rest of the document capitalizes the first letter of each mode. - Joseph Wu On April 20, 2016, 2:41 p.m., Neil Conway wrote: > > --- > This is a

Re: Review Request 36116: MESOS-2965: Add implicit conversion from Path to std::string.

2015-07-01 Thread Joseph Wu
-checked conversion of Path to string. Thanks, Joseph Wu

Re: Review Request 36116: MESOS-2965: Add implicit conversion from Path to std::string.

2015-07-05 Thread Joseph Wu
a4afdad0b5f053186ace4d6a37b41cd02e7d415b 3rdparty/libprocess/3rdparty/stout/tests/path_tests.cpp 3211a0d6b88d06b396678eaf20128698f576d198 Diff: https://reviews.apache.org/r/36116/diff/ Testing --- One unit test to demonstrate statically-checked conversion of Path to string. Thanks, Joseph Wu

Re: Review Request 36193: Improved Doxygen-Styleguide.

2015-07-06 Thread Joseph Wu
it in the associated review (36141), but it isn't mentioned in the Doxygen style guide. - Joseph Wu On July 6, 2015, 2:01 a.m., Joerg Schad wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 36193: Improved Doxygen-Styleguide.

2015-07-06 Thread Joseph Wu
> On July 6, 2015, 11:39 a.m., Joseph Wu wrote: > > docs/mesos-doxygen-style-guide.md, line 102 > > <https://reviews.apache.org/r/36193/diff/1/?file=999588#file999588line102> > > > > This isn't part of the diff, but should this `@note` tag be replac

Re: Review Request 36193: Improved Doxygen-Styleguide.

2015-07-06 Thread Joseph Wu
tps://reviews.apache.org/r/36193/#comment143645> This isn't part of the diff, but should this `@note` tag be replaced with a `**NOTE:**`? - Joseph Wu On July 6, 2015, 2:01 a.m., Joerg Schad wrote: > > --- > This is an automatica

Re: Review Request 36193: Improved Doxygen-Styleguide.

2015-07-06 Thread Joseph Wu
tps://reviews.apache.org/r/36193/#comment143651> It might be worthwhile to emphasize that markdown syntax can/should be used in with the comment blocks. I think Javadocs generally use plain HTML for links, tables, etc. - Joseph Wu On July 6, 2015, 2:01 a.m., Joerg Schad

Re: Review Request 36279: Doxygen-ification of comments in libprocess IO headers.

2015-07-07 Thread Joseph Wu
--- `doxygen ../Doxyfile` and visually verified the HTML output. Thanks, Joseph Wu

Re: Review Request 36273: Doxygen-ification of comments in libprocess process headers.

2015-07-07 Thread Joseph Wu
/ Testing --- `doxygen ../Doxyfile` and visually verified the HTML output. Thanks, Joseph Wu

Re: Review Request 36218: Doxygen styleguide revisions based on conversation from https://reviews.apache.org/r/36193/.

2015-07-08 Thread Joseph Wu
/ Testing --- Checked rendered markdown. Thanks, Joseph Wu

Re: Review Request 36273: Doxygen-ification of comments in libprocess process headers.

2015-07-09 Thread Joseph Wu
s://reviews.apache.org/r/36273/#review91096 ----------- On July 7, 2015, 5:24 p.m., Joseph Wu wrote: > > --- > This is an automatically generated e-mail. T

Re: Review Request 36273: Doxygen-ification of comments in libprocess process headers.

2015-07-09 Thread Joseph Wu
ss/include/process/process.hpp 59b50af86e059463a01f3c83701bc5fd143d51a4 Diff: https://reviews.apache.org/r/36273/diff/ Testing --- `doxygen ../Doxyfile` and visually verified the HTML output. Thanks, Joseph Wu

Re: Review Request 36501: MESOS-3023

2015-07-15 Thread Joseph Wu
501/#comment145460> * Tab size = 2 spaces. * Parameters are indented by 4 spaces. * Comments start with a capital letter and end with a period. * Logical blocks have the opening "{" on the same line. - Joseph Wu On July 14, 2015, 7:59 p.m.

Re: Review Request 36625: Windows: Splitting platform specific functions into separate headers.

2015-07-21 Thread Joseph Wu
/libprocess/3rdparty/stout/include/stout/linux/abort.hpp PRE-CREATION 3rdparty/libprocess/3rdparty/stout/include/stout/windows/abort.hpp PRE-CREATION Diff: https://reviews.apache.org/r/36625/diff/ Testing --- `make` and `make check` Thanks, Joseph Wu

Re: Review Request 36733: Moved framework struct in master to end of file

2015-07-23 Thread Joseph Wu
? Or just implementing the templated send function after the Master has been defined? i.e. ``` struct Framework { ... template void send(const Message& message); ... } class Master { ... } template void Framework::send(const Message& message) { ... } ``` - Joseph Wu On

Re: Review Request 36629: stout: Added support for 'synchronized_wait'.

2015-07-23 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36629/#review92800 --- Ship it! - Joseph Wu On July 22, 2015, 12:07 p.m., Michael Park

Re: Review Request 36672: Removed pthread specialization from Synchronized.

2015-07-23 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36672/#review92801 --- Ship it! Ship It! - Joseph Wu On July 21, 2015, 9:07 p.m

Re: Review Request 36673: Removed pthread from Once and Gate.

2015-07-23 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36673/#review92802 --- Ship it! Ship It! - Joseph Wu On July 21, 2015, 10:55 p.m

Re: Review Request 36674: Removed pthread and used Latch in executor and scheduler drivers.

2015-07-23 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36674/#review92804 --- Ship it! Ship It! - Joseph Wu On July 21, 2015, 10:56 p.m

Re: Review Request 36705: Libprocess: Replaced ThreadLocal use with thread_local.

2015-07-23 Thread Joseph Wu
stout/tests/thread_tests.cpp), why not remove the ThreadLocal struct entirely? - Joseph Wu On July 22, 2015, 1:23 p.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply, visit

Re: Review Request 36625: Windows: Split up platform specific functions into separate headers.

2015-07-24 Thread Joseph Wu
t/windows/thread.hpp PRE-CREATION 3rdparty/libprocess/3rdparty/stout/include/stout/windows/unreachable.hpp PRE-CREATION Diff: https://reviews.apache.org/r/36625/diff/ Testing (updated) --- `make` and `make check` (Mac OSX) Thanks, Joseph Wu

Re: Review Request 36625: Windows: Split up platform specific functions into separate headers.

2015-07-24 Thread Joseph Wu
/windows/unreachable.hpp PRE-CREATION Diff: https://reviews.apache.org/r/36625/diff/ Testing --- `make` and `make check` (Mac OSX) Thanks, Joseph Wu

Re: Review Request 36829: Stout: Introduced configurable `UNIMPLEMENTED()` macro.

2015-07-27 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36829/#review93144 --- Ship it! Ship It! - Joseph Wu On July 27, 2015, 12:11 a.m

Re: Review Request 36830: Libprocess: Introduced configurable `UNIMPLEMENTED` macro.

2015-07-27 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36830/#review93145 --- Ship it! Ship It! - Joseph Wu On July 27, 2015, 12:17 a.m

Re: Review Request 36842: Mesos: Introduce configurable `UNIMPLEMENTED` macro.

2015-07-27 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36842/#review93146 --- Ship it! Ship It! - Joseph Wu On July 27, 2015, 12:19 a.m

Re: Review Request 36845: Stout: Introduced TLS wrapper for thread local storage.

2015-07-27 Thread Joseph Wu
/thread_local.hpp (line 25) <https://reviews.apache.org/r/36845/#comment147404> `TLS` might be a bit too short for readable code. (And people that google it will come up with Transport Layer Security, instead of Thread Local Storage.) Maybe `THREAD_LOCAL` would be better. - Joseph Wu O

Re: Review Request 36844: Libprocess: Used THREAD_LOCAL to replace ThreadLocal.

2015-07-27 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36844/#review93187 --- Ship it! Ship It! - Joseph Wu On July 27, 2015, 2:15 p.m

Re: Review Request 36625: Windows: Split up platform specific functions into separate headers.

2015-07-29 Thread Joseph Wu
CREATION 3rdparty/libprocess/3rdparty/stout/include/stout/windows/thread.hpp PRE-CREATION Diff: https://reviews.apache.org/r/36625/diff/ Testing --- `make` and `make check` (Mac OSX) Thanks, Joseph Wu

Re: Review Request 36625: Windows: Split up platform specific functions into separate headers.

2015-07-29 Thread Joseph Wu
rise 2015 [thanks to Alex (hausdorff)]. Thanks, Joseph Wu

Re: Review Request 36783: Windows: Header splitting continued (stout/os.hpp)

2015-07-29 Thread Joseph Wu
/stout/windows/preprocessor.hpp PRE-CREATION Diff: https://reviews.apache.org/r/36783/diff/ Testing (updated) --- `make` and `make check` (Mac OSX). Build with MSVC Enterprise 2015 [thanks to Alex (hausdorff)]. Thanks, Joseph Wu

Re: Review Request 36864: Style change: Space after the "..." in variadic templates.

2015-07-29 Thread Joseph Wu
36864/diff/ Testing --- `make check` Thanks, Joseph Wu

Re: Review Request 36865: Style change: Space after the "..." in variadic templates.

2015-07-29 Thread Joseph Wu
se to just `typename...` . Diffs (updated) - 3rdparty/libprocess/include/process/help.hpp 316ed21b5300496f283d0c331fa6d9dad441d332 Diff: https://reviews.apache.org/r/36865/diff/ Testing --- `make check` Thanks, Joseph Wu

Review Request 36959: Code safety: Remove capture by reference of a temporary.

2015-07-30 Thread Joseph Wu
. Repository: mesos Description --- For more detail on why this is bad, see MESOS-2629. Diffs - src/master/registrar.hpp 6bc78c4904effde8e4108cf226467419dd014e2f Diff: https://reviews.apache.org/r/36959/diff/ Testing --- `make check` Thanks, Joseph Wu

Re: Review Request 36321: Maintenance primitives: Add Unavailability and InverseOffer protobufs.

2015-07-30 Thread Joseph Wu
de/mesos/mesos.proto a6748d1cd82238f005c6a49c70d22d095462f1ba Diff: https://reviews.apache.org/r/36321/diff/ Testing --- `make check` Thanks, Joseph Wu

Re: Review Request 36783: Windows: Header splitting continued (stout/os.hpp)

2015-08-04 Thread Joseph Wu
This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36783/#review94159 ------- On July 29, 2015, 4:24 p.m., Joseph Wu wrote: > > --- >

Re: Review Request 37170: Maintenance Primitives: Added `Machine` to Slave struct in Master.

2015-08-12 Thread Joseph Wu
/master/master.cpp (line 3649) <https://reviews.apache.org/r/37170/#comment149936> Ditto. src/master/master.cpp (line 3855) <https://reviews.apache.org/r/37170/#comment149938> Ditto. - Joseph Wu On Aug. 10, 2015, 12:04 a.

Re: Review Request 37172: Maintenance Primitives: Set offer `unavailability` if slave is scheduled for maintenance.

2015-08-12 Thread Joseph Wu
y like: ``` struct MaintenanceInfo { Unavailability unavailability; mesos::maintenance::mode mode; } hashmap maintenanceInfos; ``` - Joseph Wu On Aug. 10, 2015, 12:04 a.m., Joris Van Remoortere wrote: > > ---

Re: Review Request 37173: Maintenance Primitives: Added unavailability to Allocator's Slave struct.

2015-08-12 Thread Joseph Wu
straightforward route to pass the new schedule info along. Instead, I think adding another method for passing unavailabilities along would be better. We could call that method after agent registration or after hitting the maintenance endpoints. - Joseph Wu On Aug. 10, 2015, 12:05

Re: Review Request 37173: Maintenance Primitives: Added unavailability to Allocator's Slave struct.

2015-08-12 Thread Joseph Wu
> On Aug. 12, 2015, 12:01 p.m., Joseph Wu wrote: > > include/mesos/master/allocator.hpp, lines 96-101 > > <https://reviews.apache.org/r/37173/diff/2/?file=1035790#file1035790line96> > > > > I'm not convinced that `addSlave` is the appropriate

Re: Review Request 37175: Maintenance Primitives: Added updateUnavailability to master.

2015-08-12 Thread Joseph Wu
ration = Druation::create(unavailability.get().duration());` - Joseph Wu On Aug. 10, 2015, 12:05 a.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > http

Re: Review Request 37176: Maintenance Primitives: Added a new allocation overload to sorter.

2015-08-12 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37176/#review95160 --- Ship it! Ship It! - Joseph Wu On Aug. 10, 2015, 12:05 a.m

Re: Review Request 37177: Maintenance Primitives: Added inverse offers.

2015-08-12 Thread Joseph Wu
Isn't `offerable[frameworkId]` always undefined? - Joseph Wu On Aug. 10, 2015, 12:05 a.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply, visit:

Re: Review Request 37178: Maintenance Primitives: Added InverseOffers to Scheduler Event Offers.

2015-08-12 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37178/#review95167 --- Ship it! Ship It! - Joseph Wu On Aug. 10, 2015, 12:05 a.m

Re: Review Request 37280: Maintenance Primitives: Added updateInverseOffer to Allocator.

2015-08-12 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37280/#review95168 --- Ship it! Ship It! - Joseph Wu On Aug. 10, 2015, 12:05 a.m

Re: Review Request 37180: Maintenance Primitives: Implemented Master::inverseOffer.

2015-08-12 Thread Joseph Wu
/master/master.cpp (lines 4795 - 4796) <https://reviews.apache.org/r/37180/#comment150011> This second sentence might be better placed in the InverseOffer protobuf. src/master/master.cpp (line 5667) <https://reviews.apache.org/r/37180/#comment150014> `callled` - Joseph Wu

Re: Review Request 37281: Maintenance Primitives: Added Unavailability to Offer in V1 API.

2015-08-12 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37281/#review95177 --- Ship it! Ship It! - Joseph Wu On Aug. 10, 2015, 12:06 a.m

Re: Review Request 37234: Maintenance Primitives: Added URL field to InverseOffer proto.

2015-08-12 Thread Joseph Wu
https://reviews.apache.org/r/36321/ . - Joseph Wu On Aug. 10, 2015, 12:05 a.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 37282: Maintenance Primitives: Added InverseOffer to V1 API.

2015-08-12 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37282/#review95179 --- Ship it! Ship It! - Joseph Wu On Aug. 10, 2015, 12:06 a.m

Re: Review Request 37284: Maintenance Primitives: Added support for Accept / Decline of InverseOffers in master.

2015-08-12 Thread Joseph Wu
g/r/37284/#comment150020> This `continue` seems extraneous. src/master/master.cpp (line 3162) <https://reviews.apache.org/r/37284/#comment150019> Is this `continue` necessary? (Same question for the other instances below.) - Joseph Wu On Aug. 10, 2015, 12:06 a.m

Re: Review Request 36321: Maintenance primitives: Add Unavailability and InverseOffer protobufs.

2015-08-12 Thread Joseph Wu
JIRAs, see MESOS-1474). Diffs (updated) - include/mesos/mesos.proto 8a423a56a341e380434e7df91868f1813024840c Diff: https://reviews.apache.org/r/36321/diff/ Testing --- `make check` Thanks, Joseph Wu

Re: Review Request 37415: Fix flaky ExamplesTest.JavaFramework

2015-08-13 Thread Joseph Wu
- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/37415/ > ----------- > > (Updated Aug. 13, 2015, 9:49 a.m.) > > > Review request for mesos, Joris Van Remoortere, Joseph Wu, and Till Toenshoff. > > > Bugs:

Re: Review Request 37414: Fix flaky ExamplesTest.JavaLog

2015-08-14 Thread Joseph Wu
: https://issues.apache.org/jira/browse/MESOS-3264 Since this change makes the test less flaky, I say it LGTM. - Joseph Wu On Aug. 13, 2015, 9:49 a.m., Greg Mann wrote: > > --- > This is an automatically generated e-mail. To rep

Re: Review Request 37415: Fix flaky ExamplesTest.JavaFramework

2015-08-14 Thread Joseph Wu
: https://issues.apache.org/jira/browse/MESOS-3264 Since this change makes the test less flaky, I say it LGTM. - Joseph Wu On Aug. 13, 2015, 9:56 p.m., Greg Mann wrote: > > --- > This is an automatically generated e-mail. To rep

Re: Review Request 37502: Add CMAKE_CXX_FLAGS to GMOCK_CONFIG_CMD in CMake.

2015-08-17 Thread Joseph Wu
CXXFLAGS=\"${GMOCK_CONFIG_CXXFLAGS}\" " ^ ^ ^ ``` - Joseph Wu On Aug. 15, 2015, 5:07 a.m., haosdent huang wrote: > > --- > This is an automatically generated e-mail. To reply, vi

Re: Review Request 37170: Maintenance Primitives: Added `Machine` to Slave struct in Master.

2015-08-18 Thread Joseph Wu
tps://reviews.apache.org/r/37170/#comment150904> Note: There might be a rebase conflict with https://reviews.apache.org/r/37314/diff/4#3 since both have the same text. - Joseph Wu On Aug. 18, 2015, 11:57 a.m., Joris Van Remoortere

Re: Review Request 37172: Maintenance Primitives: Set offer `unavailability` if slave is scheduled for maintenance.

2015-08-18 Thread Joseph Wu
modes as pronouns [Normal, Draining, Deactivated]. We could change them all to be `screaming`-case. Or to pronoun-case. - Joseph Wu On Aug. 18, 2015, 11:57 a.m., Joris Van Remoortere wrote: > > --- > This is an automatically generat

Re: Review Request 37173: Maintenance Primitives: Added unavailability to Allocator's Slave struct.

2015-08-18 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37173/#review95782 --- Ship it! LGTM - Joseph Wu On Aug. 18, 2015, 11:57 a.m., Joris

Re: Review Request 37175: Maintenance Primitives: Added updateUnavailability to master.

2015-08-18 Thread Joseph Wu
(line 478) <https://reviews.apache.org/r/37175/#comment150913> Why is this return type `Nothing`, instead of `void`? - Joseph Wu On Aug. 18, 2015, 11:57 a.m., Joris Van Remoortere wrote: > > --- > This is an automatica

Re: Review Request 37177: Maintenance Primitives: Added inverse offers.

2015-08-18 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37177/#review95785 --- Ship it! Ship It! - Joseph Wu On Aug. 18, 2015, 11:57 a.m

Re: Review Request 37180: Maintenance Primitives: Implemented Master::inverseOffer.

2015-08-18 Thread Joseph Wu
tps://reviews.apache.org/r/37180/#comment150914> Typo still present. - Joseph Wu On Aug. 18, 2015, 11:58 a.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 37283: Maintenance Primitives: Refactored Master maintenance test to use V1 API.

2015-08-18 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37283/#review95788 --- Ship it! Ship It! - Joseph Wu On Aug. 18, 2015, 11:58 a.m

Re: Review Request 37172: Maintenance Primitives: Set offer `unavailability` if slave is scheduled for maintenance.

2015-08-19 Thread Joseph Wu
tps://reviews.apache.org/r/37172/#comment151021> s/machines/machine_infos/ - Joseph Wu On Aug. 18, 2015, 11:57 a.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 37655: MESOS-3299: Add protobuf to represent time with integer precision.

2015-08-20 Thread Joseph Wu
Duration. Diffs - include/mesos/mesos.proto 33e1b28f1ccbe227657a14395f81df20e0a9e193 Diff: https://reviews.apache.org/r/37655/diff/ Testing --- `make check` Thanks, Joseph Wu

Re: Review Request 36321: Maintenance primitives: Add Unavailability and InverseOffer protobufs.

2015-08-21 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36321/#review96073 --- On Aug. 12, 2015, 3:07 p.m., Joseph Wu wrote: > >

Re: Review Request 36321: Maintenance primitives: Add Unavailability and InverseOffer protobufs.

2015-08-24 Thread Joseph Wu
ents (that part is tracked in separate JIRAs, see MESOS-1474). Diffs (updated) - include/mesos/mesos.proto 33e1b28f1ccbe227657a14395f81df20e0a9e193 Diff: https://reviews.apache.org/r/36321/diff/ Testing --- `make check` Thanks, Joseph Wu

Re: Review Request 36321: Maintenance primitives: Add Unavailability and InverseOffer protobufs.

2015-08-24 Thread Joseph Wu
ssed by `unavailability.start`. > > Given we don't need duration in this case, the name can be misleading for > > users. > > Joseph Wu wrote: > A while ago, I posted a few diffs where this object was called `Interval` > (https://reviews.apache.org/r/36321/diff/7

Re: Review Request 36571: Maintenance Primitives: Add maintenance-related, registry protobufs.

2015-08-24 Thread Joseph Wu
9fd71d1ddf442712977596e7a13969ff5c1d68db src/master/registry.proto a1995e56886f5296bc71d1bdfebec0d8316396c6 Diff: https://reviews.apache.org/r/36571/diff/ Testing --- `make check` Thanks, Joseph Wu

Re: Review Request 37362: Maintenance Primitives: Adds an endpoint for transitioning agents back into Normal mode.

2015-08-24 Thread Joseph Wu
lists. Schedules some machines. Deactivates some. Tests some valid and invalid lists. Checks that the schedule is modified. Thanks, Joseph Wu

Re: Review Request 37325: Maintenance Primitives: Adds an endpoint for scheduling agents for maintenance.

2015-08-24 Thread Joseph Wu
point with some valid and invalid schedules. Only tests a subset of invalid schedules (requires other endpoints to fully test). Thanks, Joseph Wu

Re: Review Request 37364: Maintenance Primitives: Adds an endpoint for retrieving the maintenance status for machines.

2015-08-24 Thread Joseph Wu
/tests/master_maintenance_tests.cpp PRE-CREATION Diff: https://reviews.apache.org/r/37364/diff/ Testing --- `make check` New Tests: MasterMaintenanceTest.FailToUnscheduleDeactivatedMachines Extra test case for the /maintenance.schedule endpoint, which requires all three endpoints to work. MasterMaintenanceTest.MachineStatus Schedules, starts, and stops maintenance. Checks machine statuses after each step. Thanks, Joseph Wu

Re: Review Request 37325: Maintenance Primitives: Adds an endpoint for scheduling agents for maintenance.

2015-08-24 Thread Joseph Wu
> On Aug. 12, 2015, 10:31 a.m., Joseph Wu wrote: > > src/master/maintenance.cpp, lines 126-130 > > <https://reviews.apache.org/r/37325/diff/2/?file=1037747#file1037747line126> > > > > Note: Considering the "machine" field in the master's loca

Re: Review Request 37585: Maintenance primitives: Add a user doc.

2015-08-24 Thread Joseph Wu
- docs/images/maintenance-primitives-modes.png PRE-CREATION docs/maintenance.md PRE-CREATION Diff: https://reviews.apache.org/r/37585/diff/ Testing --- Copied to: https://gist.github.com/kaysoky/b9789c88ee204e3b49a2 Checked for markdown correctness. Thanks, Joseph Wu

Re: Review Request 37358: Maintenance Primitives: Adds an endpoint for transitioning agents into the Deactivated maintenance mode.

2015-08-24 Thread Joseph Wu
, Joseph Wu

Re: Review Request 37314: Maintenance Primitives: Populate master's maintenance-related local state upon recovery from registry.

2015-08-24 Thread Joseph Wu
/master.cpp 95207d24db0aa052eb70c4cc7eb75d0611c365cf Diff: https://reviews.apache.org/r/37314/diff/ Testing --- `make check` Thanks, Joseph Wu

Review Request 37729: Remove extraneous IsolatorProcess declaration.

2015-08-24 Thread Joseph Wu
. Repository: mesos Description --- Some refactoring in https://reviews.apache.org/r/36763 missed these lines. Diffs - include/mesos/slave/isolator.hpp 970730f0ffc7f3359685ccf81452856bea1c4a06 Diff: https://reviews.apache.org/r/37729/diff/ Testing --- `make check` Thanks, Joseph

Re: Review Request 37585: Maintenance primitives: Add a user doc.

2015-08-24 Thread Joseph Wu
iff/ Testing --- Copied to: https://gist.github.com/kaysoky/b9789c88ee204e3b49a2 Checked for markdown correctness. Thanks, Joseph Wu

Re: Review Request 37655: MESOS-3299: Add protobuf to represent time with integer precision.

2015-08-24 Thread Joseph Wu
` Thanks, Joseph Wu

Re: Review Request 37585: Maintenance primitives: Add a user doc.

2015-08-24 Thread Joseph Wu
correctness. Thanks, Joseph Wu

Re: Review Request 36321: Maintenance primitives: Add Unavailability and InverseOffer protobufs.

2015-08-25 Thread Joseph Wu
concept of time (i.e. "When are you available?"). - Joseph ------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36321/#review96259 -

Re: Review Request 36321: Maintenance primitives: Add Unavailability and InverseOffer protobufs.

2015-08-25 Thread Joseph Wu
/mesos/mesos.proto 33e1b28f1ccbe227657a14395f81df20e0a9e193 include/mesos/v1/mesos.proto 382b978dca769757171c5558b7f259870592c321 Diff: https://reviews.apache.org/r/36321/diff/ Testing --- `make check` Thanks, Joseph Wu

Re: Review Request 36571: Maintenance Primitives: Add maintenance-related, registry protobufs.

2015-08-25 Thread Joseph Wu
bufs, we will add it to the V1 API when it is necessary to do so. - Joseph --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36571/#review96301 ----------

Re: Review Request 37325: Maintenance Primitives: Adds an endpoint for scheduling agents for maintenance.

2015-08-25 Thread Joseph Wu
re put into Draining mode. Removes machines. MasterMaintenanceTest.UpdateSchedule Hits the new endpoint with some valid and invalid schedules. Only tests a subset of invalid schedules (requires other endpoints to fully test). Thanks, Joseph Wu

Re: Review Request 37358: Maintenance Primitives: Adds an endpoint for transitioning agents into the Deactivated maintenance mode.

2015-08-25 Thread Joseph Wu
This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37358/#review96309 ------- On Aug. 24, 2015, 11:54 a.m., Joseph Wu wrote: > > ---

Re: Review Request 37362: Maintenance Primitives: Adds an endpoint for transitioning agents back into Normal mode.

2015-08-25 Thread Joseph Wu
This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37362/#review96313 --- On Aug. 24, 2015, 12:08 p.m., Joseph Wu wrote: > >

Re: Review Request 37325: Maintenance Primitives: Adds an endpoint for scheduling agents for maintenance.

2015-08-25 Thread Joseph Wu
ts the new endpoint with some valid and invalid schedules. Only tests a subset of invalid schedules (requires other endpoints to fully test). Thanks, Joseph Wu

Re: Review Request 37358: Maintenance Primitives: Adds an endpoint for transitioning agents into the Deactivated maintenance mode.

2015-08-25 Thread Joseph Wu
. Thanks, Joseph Wu

Re: Review Request 37362: Maintenance Primitives: Adds an endpoint for transitioning agents back into Normal mode.

2015-08-25 Thread Joseph Wu
invalid lists. Schedules some machines. Deactivates some. Tests some valid and invalid lists. Checks that the schedule is modified. Thanks, Joseph Wu

Re: Review Request 37364: Maintenance Primitives: Adds an endpoint for retrieving the maintenance status for machines.

2015-08-25 Thread Joseph Wu
/tests/master_maintenance_tests.cpp PRE-CREATION Diff: https://reviews.apache.org/r/37364/diff/ Testing --- `make check` New Tests: MasterMaintenanceTest.FailToUnscheduleDeactivatedMachines Extra test case for the /maintenance.schedule endpoint, which requires all three endpoints to work. MasterMaintenanceTest.MachineStatus Schedules, starts, and stops maintenance. Checks machine statuses after each step. Thanks, Joseph Wu

Re: Review Request 37172: Maintenance Primitives: Set offer `unavailability` if slave is scheduled for maintenance.

2015-08-25 Thread Joseph Wu
(line 258) <https://reviews.apache.org/r/37172/#comment151695> Might need a `static_cast` here. src/tests/master_maintenance_tests.cpp (line 277) <https://reviews.apache.org/r/37172/#comment151694> Should be changed to an int comparison. - Joseph Wu On Aug. 24, 20

Re: Review Request 37175: Maintenance Primitives: Added updateUnavailability to master.

2015-08-25 Thread Joseph Wu
.." << start.secs(); ``` - Joseph Wu On Aug. 24, 2015, 7:12 p.m., Joris Van Remoortere wrote: > > --- > This is an automatically generated e-mail. To reply, visit:

Re: Review Request 37582: Maintenance Primitives: Add test for the hierarchical DRF allocator sending inverse offers.

2015-08-25 Thread Joseph Wu
chain. Diffs (updated) - src/tests/hierarchical_allocator_tests.cpp 9748ca0b3fee25dcec51c64d8ba84dbd4aaf Diff: https://reviews.apache.org/r/37582/diff/ Testing --- `make check` Thanks, Joseph Wu

Re: Review Request 37114: MESOS-3187, support docker host command line option

2015-08-25 Thread Joseph Wu
izer/docker.cpp (line 129) <https://reviews.apache.org/r/37114/#comment151750> Extra newline. src/tests/flags.hpp (line 83) <https://reviews.apache.org/r/37114/#comment151745> Extra space before `\n`. - Joseph Wu On Aug.

Re: Review Request 37500: Update the FrameworkInfo.user on scheduler failover

2015-08-25 Thread Joseph Wu
> On Aug. 24, 2015, 4:56 p.m., Vinod Kone wrote: > > This review is a bit hard to follow because it's doing multiple things. I > > would recommend you to split this into multiple reviews > > > > #1) Expose framework user in state.json > > #2) Update framework user on re-registration (need a tes

<    1   2   3   4   5   6   7   8   9   10   >