Re: Review Request 46165: Removed dependency on Boost.Foreach.

2016-05-03 Thread Michael Park
/foreach.hpp 7fb0044790ee249b69e07b81a26851bd5bfb110f Diff: https://reviews.apache.org/r/46165/diff/ Testing --- `make check` Thanks, Michael Park

Re: Review Request 46165: Removed dependency on Boost.Foreach.

2016-05-03 Thread Michael Park
/libprocess/3rdparty/stout/include/stout/foreach.hpp 7fb0044790ee249b69e07b81a26851bd5bfb110f Diff: https://reviews.apache.org/r/46165/diff/ Testing --- `make check` Thanks, Michael Park

Re: Review Request 41613: Added `DEFAULT_ROLE` constant to persistent volume tests.

2016-05-03 Thread Michael Park
askResources = Resources::parse("cpus:1;mem:128;disk(" + DEFAULT_ROLE + "):32").get() + volume; ``` src/tests/persistent_volume_tests.cpp (lines 682 - 684) <https://reviews.apache.org/r/41613/#comment195577> Same as above. - Michael Park On Ja

Re: Review Request 46165: Removed dependency on Boost.Foreach.

2016-05-03 Thread Michael Park
7fb0044790ee249b69e07b81a26851bd5bfb110f Diff: https://reviews.apache.org/r/46165/diff/ Testing --- `make check` Thanks, Michael Park

Re: Review Request 46945: Renamed a shadowing variable.

2016-05-03 Thread Michael Park
/ Testing --- `make check` on Ubuntu 14.04 with GCC 4.8 Thanks, Michael Park

Re: Review Request 46945: Renamed a shadowing variable.

2016-05-03 Thread Michael Park
/stout/include/stout/json.hpp d1f4ae6a1d1e6ccfe55f9f8f78390826dc97d894 Diff: https://reviews.apache.org/r/46945/diff/ Testing --- `make check` on Ubuntu 14.04 with GCC 4.8 Thanks, Michael Park

Re: Review Request 46621: Added alias support for flags.

2016-05-05 Thread Michael Park
pp auto iter = aliases.count(flag_name) ? flags_.find(aliases[flag_name]) : flags_.find(flag_name); ``` 3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp (line 841) <https://reviews.apache.org/r/46621/#comment195995>

Re: Review Request 46608: Libprocess: Implemented `subprocess_windows.cpp`.

2016-05-05 Thread Michael Park
e().onAny([fd]() { os::close(fd); }); ``` Here and below. - Michael Park On May 5, 2016, 3:12 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail. To reply, vis

Re: Review Request 46608: Libprocess: Implemented `subprocess_windows.cpp`.

2016-05-05 Thread Michael Park
> On May 2, 2016, 9:14 p.m., Michael Park wrote: > > 3rdparty/libprocess/src/subprocess_windows.cpp, line 414 > > <https://reviews.apache.org/r/46608/diff/1/?file=1358649#file1358649line414> > > > > Remove newline. > > Alex Clemmer wrote: > I wa

Re: Review Request 46608: Libprocess: Implemented `subprocess_windows.cpp`.

2016-05-02 Thread Michael Park
(line 583) <https://reviews.apache.org/r/46608/#comment195303> `s/stdoutfds.read/stderrfds.read/` 3rdparty/libprocess/src/subprocess_windows.cpp (line 590) <https://reviews.apache.org/r/46608/#comment195306> Why not use a `unique_ptr` or

Re: Review Request 46504: Constructed error string in MethodNotAllowed.

2016-05-05 Thread Michael Park
; } else { body += "'" + *it + "', "; } } } body += ", received '" + requestMethod + "'"; return body; } ``` In eit

Re: Review Request 46814: Refactored FlagsBase::load().

2016-05-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46814/#review131948 --- Ship it! Ship It! - Michael Park On April 30, 2016, 1:59

Re: Review Request 46620: Refactored Flags to store name in `Name` struct instead of string.

2016-05-05 Thread Michael Park
y/libprocess/3rdparty/stout/include/stout/flags/flag.hpp (line 40) <https://reviews.apache.org/r/46620/#comment195987> (1) Can we make this `private` and add a `const std::string& get() const { return value; }` (2) `s/value/value_/` - Michael Park On April 30, 2016, 1:56

Re: Review Request 46395: Windows: Removed `std::bind` from `process.cpp` to build on Windows.

2016-05-05 Thread Michael Park
> On May 4, 2016, 10:53 p.m., Michael Park wrote: > > 3rdparty/libprocess/src/process.cpp, lines 2240-2270 > > <https://reviews.apache.org/r/46395/diff/2/?file=1358642#file1358642line2240> > > > > Consider this if you would to preserve the guarantee: > &g

Re: Review Request 46395: Windows: Removed `std::bind` from `process.cpp` to build on Windows.

2016-05-04 Thread Michael Park
e processing threads. for (long i = 0; i < num_worker_threads; i++) { // Retain the thread handles so that we can join when shutting down. threads.emplace_back(new std::thread(worker)); } ``` - Michael Park

Re: Review Request 46191: Stout: Implemented `uname` on Windows.

2016-04-14 Thread Michael Park
well, in which case we should just define this in `os.hpp`. - Michael Park On April 14, 2016, 8:28 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail. To

Re: Review Request 46014: Stout:[1/2] Moved process tests to their own file.

2016-04-14 Thread Michael Park
about this similar to below? ``` // NOTE: `getsid` does not have a meaningful interpretation on Windows. ``` - Michael Park On April 14, 2016, 2:06 a.m., Alex Clemmer wrote: > > --- > This is an automatically genera

Re: Review Request 46013: Stout: Implemented `os::processes` on Windows.

2016-04-14 Thread Michael Park
stout/os.hpp (line 214) <https://reviews.apache.org/r/46013/#comment192441> `s/> >/>>/` 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp (line 217) <https://reviews.apache.org/r/46013/#comment192442> Remove newline. - Michael P

Re: Review Request 46015: Stout:[2/2] Moved process tests to their own file.

2016-04-14 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46015/#review128995 --- Ship it! Ship It! - Michael Park On April 11, 2016, 9:02

Re: Review Request 46192: Stout:[1/2] Added `systems_tests.cpp`.

2016-04-14 Thread Michael Park
would be better, or maybe: ``` EXPECT_FALSE(info.get().release.empty()); ``` - Michael Park On April 14, 2016, 8:28 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail. To reply,

Re: Review Request 46193: Stout:[2/2] Added `systems_tests.cpp`.

2016-04-14 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46193/#review129007 --- Ship it! Ship It! - Michael Park On April 14, 2016, 8:28

Re: Review Request 46191: Stout: Implemented `uname` on Windows.

2016-04-15 Thread Michael Park
> On April 14, 2016, 9:55 p.m., Michael Park wrote: > > 3rdparty/libprocess/3rdparty/stout/include/stout/windows/os.hpp, lines > > 355-360 > > <https://reviews.apache.org/r/46191/diff/1/?file=1343998#file1343998line355> > > > > If we pull out `inter

Re: Review Request 46013: Stout: Implemented `os::processes` on Windows.

2016-04-15 Thread Michael Park
result in 0 by the division. What do you think? - Michael Park On April 15, 2016, 7:50 a.m., Alex Clemmer wrote: > > --- > This is an automatically generated e-mail. To reply, visit:

Re: Review Request 46191: Stout: Implemented `uname` on Windows.

2016-04-15 Thread Michael Park
me/` 3rdparty/libprocess/3rdparty/stout/include/stout/windows/os.hpp (line 349) <https://reviews.apache.org/r/46191/#comment192658> `s/name/nodename/` - Michael Park On April 15, 2016, 8:42 a.m., Alex Clemmer wrote: > > --

Re: Review Request 46192: Stout:[1/2] Added `systems_tests.cpp`.

2016-04-15 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46192/#review129197 --- Ship it! Ship It! - Michael Park On April 15, 2016, 8:51

Re: Review Request 46013: Stout: Implemented `os::processes` on Windows.

2016-04-15 Thread Michael Park
> On April 14, 2016, 9:10 p.m., Michael Park wrote: > > 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp, lines 173-183 > > <https://reviews.apache.org/r/46013/diff/6/?file=1344018#file1344018line173> > > > > (1) It seems like this should l

Re: Review Request 46013: Stout: Implemented `os::processes` on Windows.

2016-04-15 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46013/#review129192 --- Ship it! Ship It! - Michael Park On April 15, 2016, 7:50

Re: Review Request 46191: Stout: Implemented `uname` on Windows.

2016-04-15 Thread Michael Park
> On April 14, 2016, 9:55 p.m., Michael Park wrote: > > 3rdparty/libprocess/3rdparty/stout/include/stout/windows/os.hpp, line 310 > > <https://reviews.apache.org/r/46191/diff/1/?file=1343998#file1343998line310> > > > > Please use a C++ cast. > > Alex C

Re: Review Request 46285: Windows: [2/3] `sendfile` used with the typed error state of `Try`.

2016-04-19 Thread Michael Park
. VLOG(1) << length.error().message; return Failure(length.error()); } ``` - Michael Park On April 16, 2016, 12:20 a.m., Daniel Pravat wrote: > > --- > This is an automatically generated e-mail. To repl

Re: Review Request 46013: Stout: Implemented `os::processes` on Windows.

2016-04-19 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46013/#review129642 --- Ship it! Ship It! - Michael Park On April 18, 2016, 7:09

Review Request 46418: Refactored the `os::access` function between POSIX and Windows.

2016-04-19 Thread Michael Park
37ef33257830e32875500537df7af38757c6efac Diff: https://reviews.apache.org/r/46418/diff/ Testing --- `make check` Thanks, Michael Park

Re: Review Request 43985: Windows: [1/3] Implemented `sendfile`.

2016-04-19 Thread Michael Park
still). 3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/sendfile.hpp (line 39) <https://reviews.apache.org/r/43985/#comment193098> Should return `SocketError` here (I know they're the same, but still). - Michael Park On April 16, 2016, 1:10 a.m., Daniel Pravat wrote:

Re: Review Request 46293: Windows: [3/3] Updated `sendfile` test.

2016-04-19 Thread Michael Park
mment193111> We should be looking at `result.error().code`. Here and below. - Michael Park On April 16, 2016, 12:20 a.m., Daniel Pravat wrote: > > --- > This is an automatically generated e-mail. To reply, visi

Re: Review Request 46014: Stout:[1/2] Moved process tests to their own file.

2016-04-15 Thread Michael Park
> On April 14, 2016, 9:19 p.m., Michael Park wrote: > > 3rdparty/libprocess/3rdparty/stout/tests/os/process_tests.cpp, lines 43-61 > > <https://reviews.apache.org/r/46014/diff/3/?file=1343687#file1343687line43> > > > > Do we have plans to implement this

Re: Review Request 43985: Windows: [1/4] Implemented `sendfile`.

2016-04-20 Thread Michael Park
arty/stout/include/stout/os/windows/sendfile.hpp (line 43) <https://reviews.apache.org/r/43985/#comment193366> I requested to return `SocketError` here, it's marked as resolved but it doesn't seem so. 3rdparty/libprocess/3rdparty/stout/include/stout/windows/error.hpp (lines 119 - 121) &l

Review Request 46165: Removed dependency on Boost.Foreach.

2016-04-13 Thread Michael Park
` Thanks, Michael Park

Re: Review Request 46423: Windows: Forked `subprocess.cpp`.

2016-05-09 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46423/#review132242 --- Ship it! Ship It! - Michael Park On May 5, 2016, 3:35 p.m

Re: Review Request 46418: Refactored the `os::access` function between POSIX and Windows.

2016-05-24 Thread Michael Park
/include/stout/windows/os.hpp 71a8c61335e2bce340447e94e855a6bd79c49dec Diff: https://reviews.apache.org/r/46418/diff/ Testing --- `make check` Thanks, Michael Park

Re: Review Request 47558: Added ObjectAllower interface to authorizer.

2016-05-25 Thread Michael Park
`s/& subject/& subject/` - Michael Park On May 25, 2016, 5:19 a.m., Joerg Schad wrote: > > --- > This is an automatically generated e-mail. To reply, vi

Re: Review Request 46613: Introduced filtering relevant actions and acls.

2016-05-25 Thread Michael Park
-- > > (Updated May 24, 2016, 9:44 p.m.) > > > Review request for mesos, Adam B, Alexander Rojas, and Michael Park. > > > Bugs: MESOS-5169 > https://issues.apache.org/jira/browse/MESOS-5169 > > > Repository: mesos > > > De

Review Request 49994: Fixed mismatching `delete`.

2016-07-13 Thread Michael Park
--- `data` is initialized with `new char[size]`. It should be `delete`d with `delete[]`. Diffs - 3rdparty/libprocess/src/tests/test_linkee.cpp b7bd64c866cfe392b36a0105a5720b115c08623d Diff: https://reviews.apache.org/r/49994/diff/ Testing --- `make check` Thanks, Michael Park

Re: Review Request 45081: Excluded reserved resources when got nonRevocable resources in stage 1.

2016-08-11 Thread Michael Park
. Thanks! - Michael Park On April 19, 2016, 4:01 a.m., Klaus Ma wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 45698: Minor cleanups in Disk Quota tests.

2016-08-11 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45698/#review145525 --- Ship it! Ship It! - Michael Park On Aug. 11, 2016, 5:21 p.m

Re: Review Request 45081: Excluded reserved resources when got nonRevocable resources in stage 1.

2016-08-11 Thread Michael Park
> On Aug. 11, 2016, 10:16 a.m., Michael Park wrote: > > Hi Klaus, could you explain what the motivation is for this patch? > > Currently, your analysis seems correct that reserved resources are always > > non-revocable. > > However, the current code seems that

Re: Review Request 50887: Trimmed unneeded extra space between right angle brackets.

2016-08-10 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50887/#review145370 --- Ship it! Ship It! - Michael Park On Aug. 8, 2016, 4:13 p.m

Re: Review Request 50899: Removed unneeded extra space in stout code base.

2016-08-10 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50899/#review145371 --- Ship it! Ship It! - Michael Park On Aug. 8, 2016, 4:17 p.m

Re: Review Request 50900: Removed unneeded extra space in libprocess code base.

2016-08-10 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50900/#review145372 --- Ship it! Ship It! - Michael Park On Aug. 8, 2016, 4:19 p.m

Re: Review Request 49707: Replaced raw string with const.

2016-08-11 Thread Michael Park
) <https://reviews.apache.org/r/49707/#comment211715> Formatting: ``` if (!strings::startsWith(uri, FILE_URI_PREFIX) && strings::contains(uri, "://")) { ``` - Michael Park On July 6, 2016, 3

Re: Review Request 49314: Renamed InvokeUpdateResources to InvokeUpdateAvailable.

2016-06-28 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49314/#review139772 --- Ship it! Ship It! - Michael Park On June 28, 2016, 12:45

Re: Review Request 49631: Changed Aurora URL since it's not in incubator anymore

2016-07-05 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49631/#review140760 --- Ship it! Ship It! - Michael Park On July 5, 2016, 12:04 p.m

Re: Review Request 49003: Added a Contributing to Mesos blog post.

2016-07-04 Thread Michael Park
0a921347586808863e615ca3dcc23fae92b629f5 Diff: https://reviews.apache.org/r/49003/diff/ Testing --- Thanks, Michael Park

Re: Review Request 49003: Added a Contributing to Mesos blog post.

2016-07-04 Thread Michael Park
PRE-CREATION site/source/assets/img/blog/contributing_to_mesos_contributor_diversity.png PRE-CREATION site/source/blog/2016-06-20-contributing-to-mesos.md PRE-CREATION Diff: https://reviews.apache.org/r/49003/diff/ Testing --- Thanks, Michael Park

Re: Review Request 49377: Fixed allocator to update total resources in quota sorter.

2016-07-04 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49377/#review140656 --- Ship it! Ship It! - Michael Park On July 4, 2016, 8:53 a.m

Re: Review Request 49246: Enhanced startsWith/endsWith's performance.

2016-07-04 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49246/#review140661 --- Ship it! Ship It! - Michael Park On July 4, 2016, 1:57 p.m

Re: Review Request 49323: Added tests that combine the two ways of creating volumes.

2016-07-04 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49323/#review140655 --- Ship it! Ship It! - Michael Park On July 4, 2016, 8:32 a.m

Re: Review Request 50774: Added `-Wsign-compare` to global compiler flags.

2016-08-08 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50774/#review145110 --- Ship it! Ship It! - Michael Park On Aug. 3, 2016, 11:57 p.m

Re: Review Request 49315: Avoided unnecessary cast of `dispatch` in deferred.hpp.

2016-06-30 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49315/#review140168 --- Ship it! Ship It! - Michael Park On June 28, 2016, 6:49 p.m

Re: Review Request 49442: Documented behavior when framework and master both failover.

2016-07-03 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49442/#review140557 --- Ship it! Ship It! - Michael Park On June 30, 2016, 1 p.m

Re: Review Request 49503: Fixed usage of some GMock expectations.

2016-07-03 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49503/#review140556 --- Ship it! Ship It! - Michael Park On July 1, 2016, 10:12 a.m

Re: Review Request 49323: Added tests that combine the two ways of creating volumes.

2016-07-03 Thread Michael Park
below. In the test below, the last check is: ``` AWAIT_READY(offers); ASSERT_EQ(1u, offers.get().size()); offer = offers.get()[0]; EXPECT_TRUE(Resources(offer.resources()).contains(unreserved)); ``` - Michael Park On July 1, 2016, 9:47 a.m., Neil Conway

Re: Review Request 49140: Added startsWith/endsWith to support char.

2016-07-03 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49140/#review140555 --- Ship it! Ship It! - Michael Park On June 26, 2016, 9:46 a.m

Re: Review Request 49246: Enhanced startsWith/endsWith's performance.

2016-07-03 Thread Michael Park
gs.hpp (lines 386 - 390) <https://reviews.apache.org/r/49246/#comment205973> ``` return s.size() >= suffix.size() && std::equal(suffix.rbegin(), suffix.rend(), s.rbegin()); ``` - Michael Park On June 2

Re: Review Request 49377: Fixed allocator to update total resources in quota sorter.

2016-07-03 Thread Michael Park
R`, and can only operate on resources to make them transition between `*` and `R`. I don't see what we would be missing here. - Michael Park On July 1, 2016, 9:47 a.m., Neil Conway wrote: > > --- > This is an automatically gener

Review Request 49582: Used the `char` version of `strings::startsWith` in mesos.

2016-07-03 Thread Michael Park
15ff61ff54d72c951edbd591058ad04f8d1efb58 Diff: https://reviews.apache.org/r/49582/diff/ Testing --- `make check` Thanks, Michael Park

Review Request 49581: Used the `char` version of `strings::startsWith` in stout.

2016-07-03 Thread Michael Park
://issues.apache.org/jira/browse/MESOS-5692 Repository: mesos Description --- See summary. Diffs - 3rdparty/stout/include/stout/path.hpp 3d06ca29ce9d4d133c3ec014aa99a51aa5289bc9 Diff: https://reviews.apache.org/r/49581/diff/ Testing --- `make check` Thanks, Michael Park

Re: Review Request 49586: Used startsWith char version for role validation.

2016-07-04 Thread Michael Park
> (Updated July 4, 2016, 8:05 a.m.) > > > Review request for mesos and Michael Park. > > > Repository: mesos > > > Description > --- > > Used startsWith char version for role validation. > > > Diffs > - > > src/

Re: Review Request 49376: Added assertions to DRFSorter.

2016-07-03 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49376/#review140579 --- Ship it! Ship It! - Michael Park On July 3, 2016, 8:36 a.m

Re: Review Request 55972: Updated master to handle non-MULTI_ROLE agents.

2017-02-01 Thread Michael Park
(lines 5646 - 5647) <https://reviews.apache.org/r/55972/#comment235415> Let's use `foreach` here. - Michael Park On Jan. 26, 2017, 4:29 p.m., Benjamin Mahler wrote: > > --- > This is an automatically generated

Re: Review Request 56004: Fixed MULTI_ROLE related bugs when updating framework info.

2017-02-01 Thread Michael Park
() > 0) { info.mutable_roles()->CopyFrom(source.roles()); } else { info.clear_roles(); } ``` - Michael Park On Jan. 26, 2017, 4:30 p.m., Benjamin Mahler wrote: > > --- > This is an automatically generated e-mail. To

Re: Review Request 55732: Added `--3way` option to apply-reviews.py.

2017-02-02 Thread Michael Park
? support/apply-reviews.py (line 326) <https://reviews.apache.org/r/55732/#comment235560> Let's add the `-3` short option as well. - Michael Park On Feb. 1, 2017, 10:45 a.m., Zhitao Li wrote: > > --- > This is an aut

Re: Review Request 55973: Update the tests to handle MULTI_ROLE support.

2017-02-01 Thread Michael Park
edResources2.get())); EXPECT_EQ(agentResources, unallocated(recoveredResources3.get())); ``` src/tests/resource_offers_tests.cpp (line 266) <https://reviews.apache.org/r/55973/#comment235467> Was this for debugging? - Michael Park On Jan. 26, 2017, 4:34 p.m., Ben

Re: Review Request 56249: Cleaned up code style slightly in DRF sorter.

2017-02-03 Thread Michael Park
/sorter.cpp (line 390) <https://reviews.apache.org/r/56249/#comment235857> Do you not want to just go all the way to this? ```cpp foreach (const Client& client, clients) { // ... } ``` Here and below. - Michael Park On Feb. 2, 2017, 2:59 p.m., Neil Co

Re: Review Request 56245: Fixed typos in name of test suite.

2017-02-03 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56245/#review164198 --- Ship it! Ship It! - Michael Park On Feb. 2, 2017, 2:58 p.m

Re: Review Request 55967: Update the allocator unit tests to reflect MULTI_ROLE support.

2017-01-30 Thread Michael Park
used `AllocatedResources` here? src/tests/hierarchical_allocator_tests.cpp (line 4180) <https://reviews.apache.org/r/55967/#comment235106> `{` on the newline. - Michael Park On Jan. 25, 2017, 4:46 p.m., Benjamin Mahler wrote: > > --- >

Re: Review Request 55970: Updated the master's HTTP operations to handle MULTI_ROLE changes.

2017-01-31 Thread Michael Park
--- > > (Updated Jan. 25, 2017, 5:08 p.m.) > > > Review request for mesos, Benjamin Bannier, Jay Guo, Guangya Liu, and Michael > Park. > > > Repository: mesos > > > Description > --- > > With the addition of MULTI_ROLE framework support,

Re: Review Request 55969: Updated the master to handle non-MULTI_ROLE schedulers.

2017-01-31 Thread Michael Park
. If you did, this could be: ```cpp foreach (Offer::Operation& operation, *accept.mutable_operations()) { protobuf::adjustOfferOperation(operation, allocationInfo.get()); } ``` - Michael Park On Jan. 25, 2017, 5:05 p.m., Benja

Re: Review Request 54602: Replaced `int` with `int_fd` in libprocess.

2017-02-04 Thread Michael Park
a32d20e47f67d88bbe5928e0ddc129745c5f42e0 3rdparty/libprocess/src/tests/subprocess_tests.cpp 59c17692012ddfb540ecdd48560c73c42a15f061 Diff: https://reviews.apache.org/r/54602/diff/ Testing --- Thanks, Michael Park

Re: Review Request 54603: Replaced `int` with `int_fd` in mesos.

2017-02-04 Thread Michael Park
9263d8c2763cb30c93fd94be5344f83a6ce3e3b1 Diff: https://reviews.apache.org/r/54603/diff/ Testing --- Thanks, Michael Park

Re: Review Request 54595: Introduced an `os::dup` abstraction in stout.

2017-02-04 Thread Michael Park
ed6fec3ac1c1f9dfb0585178401f4b552822a0a1 3rdparty/stout/include/stout/os/dup.hpp PRE-CREATION 3rdparty/stout/include/stout/os/posix/dup.hpp PRE-CREATION 3rdparty/stout/include/stout/os/windows/dup.hpp PRE-CREATION Diff: https://reviews.apache.org/r/54595/diff/ Testing --- Thanks, Michael Park

Re: Review Request 54592: Introduced an `os::lseek` abstraction in stout.

2017-02-04 Thread Michael Park
ed6fec3ac1c1f9dfb0585178401f4b552822a0a1 3rdparty/stout/include/stout/os/lseek.hpp PRE-CREATION Diff: https://reviews.apache.org/r/54592/diff/ Testing --- Thanks, Michael Park

Re: Review Request 54762: Introduced an `os::pipe` abstraction to stout.

2017-02-04 Thread Michael Park
3rdparty/stout/include/stout/windows/os.hpp c123772ab018d327b02dacfb314b835b9f373cfc Diff: https://reviews.apache.org/r/54762/diff/ Testing --- Thanks, Michael Park

Re: Review Request 54601: Replaced `int` with `int_fd` in stout.

2017-02-04 Thread Michael Park
Diff: https://reviews.apache.org/r/54601/diff/ Testing --- Thanks, Michael Park

Re: Review Request 54591: Introduced `WindowsFD` class which is analogous to an `int` in POSIX.

2017-02-04 Thread Michael Park
ed6fec3ac1c1f9dfb0585178401f4b552822a0a1 3rdparty/stout/include/stout/os/int_fd.hpp PRE-CREATION 3rdparty/stout/include/stout/os/windows/fd.hpp PRE-CREATION Diff: https://reviews.apache.org/r/54591/diff/ Testing --- Thanks, Michael Park

Re: Review Request 54601: Replaced `int` with `int_fd` in stout.

2017-02-04 Thread Michael Park
y generated e-mail. To reply, visit: https://reviews.apache.org/r/54601/#review164009 ------- On Feb. 4, 2017, 5:39 p.m., Michael Park wrote: > > --- > This is an automatically generated e-mail. To

Re: Review Request 54602: Replaced `int` with `int_fd` in libprocess.

2017-02-04 Thread Michael Park
- Michael --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54602/#review164008 --- On Feb. 4, 2017, 5:39 p.m., Michael Park wrote: > &g

Review Request 56354: Fixed incorrect `CHECK_EQ`s in `WindowsFD`.

2017-02-06 Thread Michael Park
- 3rdparty/stout/include/stout/os/windows/fd.hpp 24d3661aad72817d8b9e3cd88fe6178ab60832bd Diff: https://reviews.apache.org/r/56354/diff/ Testing --- Thanks, Michael Park

Re: Review Request 56354: Fixed incorrect `CHECK_EQ`s in `WindowsFD`.

2017-02-06 Thread Michael Park
` or `HANDLE`, for example. Diffs - 3rdparty/stout/include/stout/os/windows/fd.hpp 24d3661aad72817d8b9e3cd88fe6178ab60832bd Diff: https://reviews.apache.org/r/56354/diff/ Testing (updated) --- Ran `.\support\windows-build.bat` on a Windows VM. Thanks, Michael Park

Re: Review Request 56350: Const-ified several methods in the sorter interface.

2017-02-07 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56350/#review164603 --- Ship it! Ship It! - Michael Park On Feb. 7, 2017, 2:58 p.m

Re: Review Request 56351: Renamed a private member function in DRFSorter.

2017-02-07 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56351/#review164604 --- Ship it! Ship It! - Michael Park On Feb. 6, 2017, 3:14 p.m

Re: Review Request 56349: Clarified comments in sorter.

2017-02-07 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56349/#review164602 --- Ship it! Ship It! - Michael Park On Feb. 6, 2017, 3:13 p.m

Re: Review Request 56247: Switched to implicit roles in master quota tests.

2017-02-07 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56247/#review164595 --- Ship it! Ship It! - Michael Park On Feb. 2, 2017, 2:59 p.m

Re: Review Request 56423: Added CHECKs to the agent to ensure allocation info is set.

2017-02-08 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56423/#review164804 --- Ship it! Ship It! - Michael Park On Feb. 7, 2017, 6:54 p.m

Re: Review Request 56424: Removed a stale TODO in the agent code.

2017-02-08 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56424/#review164805 --- Ship it! Ship It! - Michael Park On Feb. 7, 2017, 6:54 p.m

Re: Review Request 56422: Inject resource allocation info in agent for received tasks.

2017-02-08 Thread Michael Park
p (lines 4603 - 4604) <https://reviews.apache.org/r/56422/#comment236594> Indent 4 spaces. - Michael Park On Feb. 7, 2017, 6:53 p.m., Benjamin Mahler wrote: > > --- > This is an automatically generated e-mail. To reply, vi

Re: Review Request 56421: Added TODOs to make the agent code safer.

2017-02-08 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56421/#review164795 --- Ship it! Ship It! - Michael Park On Feb. 7, 2017, 6:38 p.m

Re: Review Request 56427: Added another sorter test case.

2017-02-08 Thread Michael Park
if the # of allocations is the same? - Michael Park On Feb. 7, 2017, 7:40 p.m., Neil Conway wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 56370: Added a test to ensure multi-role framework receiving offers.

2017-02-08 Thread Michael Park
) <https://reviews.apache.org/r/56370/#comment236606> Not sure why you need the `this->` here? - Michael Park On Feb. 6, 2017, 11:29 p.m., Jay Guo wrote: > > --- > This is an automatically generated e-mail. To rep

Re: Review Request 55710: Added agent capabilities to /state endpoint of master.

2017-02-08 Thread Michael Park
then let `protobuf::slave::Capabilities` keep track of `std::set capabilities`. and just do: ```cpp writer->field("capabilities", slave.capabilities.capabilities); ``` - Michael Park On

Re: Review Request 56360: Fixed consistency in error messages.

2017-02-08 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56360/#review164813 --- Ship it! Ship It! - Michael Park On Feb. 6, 2017, 11:34 p.m

Re: Review Request 56375: Added a test to ensure offers with different roles cannot be combined.

2017-02-08 Thread Michael Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56375/#review164812 --- Ship it! Ship It! - Michael Park On Feb. 6, 2017, 11:34 p.m

<    5   6   7   8   9   10   11   12   13   14   >