Re: Review Request 37505: Fix broken health check in docker executor.

2015-08-18 Thread haosdent huang
On Aug. 17, 2015, 9:59 p.m., Timothy Chen wrote: Hi haosdent, thanks for working on this but I think running the healthcheck outside of the container doesn't make much sense to me. I think we should try to run it inside of the container (docker exec), but since docker exec is

Re: Review Request 37512: Added user doc for Scheduler HTTP API.

2015-08-18 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37512/#review95712 --- Ship it! Ship It! - Guangya Liu On 八月 18, 2015, 3:08 a.m.,

Re: Review Request 37423: Split out common functions for running perf into a common perf class with wrapper functions to allow for reuse between sample, valid and version operations.

2015-08-18 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37423/ --- (Updated Aug. 18, 2015, 6:10 p.m.) Review request for mesos and Ben Mahler.

Re: Review Request 37587: Add Unavailable HTTP response.

2015-08-18 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37587/#review95757 --- 3rdparty/libprocess/include/process/http.hpp (lines 590 - 601)

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37176/ --- (Updated Aug. 18, 2015, 6:57 p.m.) Review request for mesos, Benjamin Hindman,

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37173/ --- (Updated Aug. 18, 2015, 6:57 p.m.) Review request for mesos, Benjamin Hindman,

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37178/ --- (Updated Aug. 18, 2015, 6:57 p.m.) Review request for mesos, Benjamin Hindman,

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37170/ --- (Updated Aug. 18, 2015, 6:57 p.m.) Review request for mesos, Benjamin Hindman,

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37281/ --- (Updated Aug. 18, 2015, 6:57 p.m.) Review request for mesos, Benjamin Hindman,

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37172/ --- (Updated Aug. 18, 2015, 6:57 p.m.) Review request for mesos, Benjamin Hindman,

Re: Review Request 37584: Fix bug accessing error() when no Error

2015-08-18 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37584/#review95754 --- src/launcher/fetcher.cpp (lines 100 - 106)

Re: Review Request 37589: Remove unnecessary usage information.

2015-08-18 Thread haosdent huang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37589/ --- (Updated Aug. 18, 2015, 6:36 p.m.) Review request for mesos, Michael Park and

Review Request 37586: Generate usage help information in libprocess.

2015-08-18 Thread haosdent huang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37586/ --- Review request for mesos. Bugs: MESOS-3239

Re: Review Request 37417: Convert Perf event validator to use new shared object.

2015-08-18 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37417/ --- (Updated Aug. 18, 2015, 6:42 p.m.) Review request for mesos and Ben Mahler.

Re: Review Request 37584: Fix bug accessing error() when no Error

2015-08-18 Thread Marco Massenzio
On Aug. 18, 2015, 6:34 p.m., Vinod Kone wrote: src/launcher/fetcher.cpp, lines 100-106 https://reviews.apache.org/r/37584/diff/1/?file=1043203#file1043203line100 just do return Error(Skipping fetch with Hadoop client: + (available.isError() ?

Re: Review Request 37584: Fix bug accessing error() when no Error

2015-08-18 Thread Ben Mahler
On Aug. 18, 2015, 6:34 p.m., Vinod Kone wrote: src/launcher/fetcher.cpp, lines 100-106 https://reviews.apache.org/r/37584/diff/1/?file=1043203#file1043203line100 just do return Error(Skipping fetch with Hadoop client: + (available.isError() ?

Review Request 37589: Generate usage help information in mesos.

2015-08-18 Thread haosdent huang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37589/ --- Review request for mesos, Michael Park and Vinod Kone. Bugs: MESOS-3239

Re: Review Request 37587: Add Unavailable HTTP response.

2015-08-18 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37587/#review95755 --- Ship it! Ship It! - Ben Mahler On Aug. 18, 2015, 6:26 p.m.,

Review Request 37587: Add Unavailable HTTP response.

2015-08-18 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37587/ --- Review request for mesos, Anand Mazumdar and Ben Mahler. Bugs: MESOS-3290

Re: Review Request 37586: Generate usage help information in libprocess.

2015-08-18 Thread haosdent huang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37586/ --- (Updated Aug. 18, 2015, 6:32 p.m.) Review request for mesos, Michael Park and

Re: Review Request 37424: Timeout the perf future if the process does not complete.

2015-08-18 Thread Paul Brett
On Aug. 17, 2015, 6:22 p.m., Ben Mahler wrote: src/linux/perf.cpp, line 199 https://reviews.apache.org/r/37424/diff/1/?file=1038974#file1038974line199 We may want to update this to become killtree in a separate patch? Or are we guaranteed that perf will clean up child processes?

Re: Review Request 37424: Timeout the perf future if the process does not complete.

2015-08-18 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37424/ --- (Updated Aug. 18, 2015, 6:40 p.m.) Review request for mesos and Ben Mahler.

Re: Review Request 37417: Convert Perf event validator to use new shared object.

2015-08-18 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37417/ --- (Updated Aug. 18, 2015, 6:12 p.m.) Review request for mesos and Ben Mahler.

Review Request 37588: Fixed master to drop scheduler HTTP calls during recovery.

2015-08-18 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37588/ --- Review request for mesos, Anand Mazumdar and Ben Mahler. Bugs: MESOS-3290

Re: Review Request 37417: Convert Perf event validator to use new shared object.

2015-08-18 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37417/ --- (Updated Aug. 18, 2015, 6:43 p.m.) Review request for mesos and Ben Mahler.

Review Request 37584: Fix bug accessing error() when no Error

2015-08-18 Thread Marco Massenzio
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37584/ --- Review request for mesos and Adam B. Bugs: MESOS-3287

Re: Review Request 37424: Timeout the perf future if the process does not complete.

2015-08-18 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37424/ --- (Updated Aug. 18, 2015, 6:43 p.m.) Review request for mesos and Ben Mahler.

Re: Review Request 37588: Fixed master to drop scheduler HTTP calls during recovery.

2015-08-18 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37588/#review95758 --- Ship it! It seems like Forbidden should be used for authorization

Re: Review Request 37588: Fixed master to drop scheduler HTTP calls during recovery.

2015-08-18 Thread Vinod Kone
On Aug. 18, 2015, 6:49 p.m., Ben Mahler wrote: It seems like Forbidden should be used for authorization issues, can we just have the non-leaders say they are not available? It seems to make sense, since they are not elected, they are not available. changed master to send 503 when it's

Re: Review Request 37588: Fixed master to drop scheduler HTTP calls during recovery.

2015-08-18 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37588/ --- (Updated Aug. 18, 2015, 7:10 p.m.) Review request for mesos, Anand Mazumdar

Re: Review Request 37584: Fix bug accessing error() when no Error

2015-08-18 Thread Vinod Kone
On Aug. 18, 2015, 6:34 p.m., Vinod Kone wrote: src/launcher/fetcher.cpp, lines 100-106 https://reviews.apache.org/r/37584/diff/1/?file=1043203#file1043203line100 just do return Error(Skipping fetch with Hadoop client: + (available.isError() ?

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37282/ --- (Updated Aug. 18, 2015, 6:58 p.m.) Review request for mesos, Benjamin Hindman,

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37177/ --- (Updated Aug. 18, 2015, 6:57 p.m.) Review request for mesos, Benjamin Hindman,

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37280/ --- (Updated Aug. 18, 2015, 6:58 p.m.) Review request for mesos, Benjamin Hindman,

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37234/ --- (Updated Aug. 18, 2015, 6:58 p.m.) Review request for mesos, Benjamin Hindman,

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

2015-08-18 Thread Joris Van Remoortere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37178/ --- (Updated Aug. 18, 2015, 7:02 p.m.) Review request for mesos, Benjamin Hindman,

Re: Review Request 37423: Split out common functions for running perf into a common perf class with wrapper functions to allow for reuse between sample, valid and version operations.

2015-08-18 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37423/#review95771 --- Ship it! Will get this committed now, thanks Paul!

Re: Review Request 37417: Convert Perf event validator to use new shared object.

2015-08-18 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37417/#review95777 --- Paul can you split this change? I personally don't have context on

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

2015-08-18 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37175/#review95783 --- Ship it! LGTM except for one little thing: src/master/master.hpp

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

2015-08-18 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37180/#review95786 --- Ship it! LGTM. src/master/master.cpp (line 5745)

Review Request 37592: Added a defaultWindow to metrics based on LIBPROCESS_STATISTICS_WINDOW

2015-08-18 Thread Greg Mann
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37592/ --- Review request for mesos. Bugs: MESOS-1283

Re: Review Request 37586: Generate usage help information in libprocess.

2015-08-18 Thread haosdent huang
On Aug. 19, 2015, 1:24 a.m., Guangya Liu wrote: Just curious: If change the 3rd party code directly in mesos source code, then how to handle the case when mesos want to upgrade the 3rd party libraries? because libprocess is maintained in mesos, so we could do it like this here. For

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

2015-08-18 Thread Mesos ReviewBot
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37284/#review95815 --- Bad patch! Reviews applied: [36321, 36571, 37314, 37325, 37358,

Re: Review Request 37416: Perf supported() should be based on the version of perf, not the version of the kernel.

2015-08-18 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37416/#review95779 --- Just some notes before you rebase. src/linux/perf.cpp (lines 411

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

2015-08-18 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37170/#review95780 --- Ship it! LGTM. src/master/master.cpp (lines 1364 - 1365)

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 37493: Detect gflags when present and link when building Python module

2015-08-18 Thread Greg Mann
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37493/ --- (Updated Aug. 18, 2015, 11:48 p.m.) Review request for mesos, Joris Van

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

2015-08-18 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37176/#review95810 --- Ship it! Ship It! - Guangya Liu On 八月 18, 2015, 6:57 p.m.,

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

2015-08-18 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37180/#review95803 --- src/master/master.cpp (line 4145)

Re: Review Request 37417: Convert Perf event validator to use new shared object.

2015-08-18 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37417/#review95806 --- Did you still want to use 'Perf' here? If not, I can't tell what

Re: Review Request 37417: Convert Perf event validator to use new shared object.

2015-08-18 Thread Paul Brett
On Aug. 18, 2015, 8:38 p.m., Ben Mahler wrote: Paul can you split this change? I personally don't have context on why we would want to change from sampling 'true' to running against the init process so I'd like Jie or Ian to review that change, but I can help you make the

Re: Review Request 37586: Generate usage help information in libprocess.

2015-08-18 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37586/#review95807 --- Just curious: If change the 3rd party code directly in mesos source

Re: Review Request 37427: Docker registry: adding TokenManager.

2015-08-18 Thread Jojy Varghese
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37427/ --- (Updated Aug. 18, 2015, 11:24 p.m.) Review request for mesos, Lily Chen, Joris

Re: Review Request 37493: Detect gflags when present and link when building Python module

2015-08-18 Thread Greg Mann
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37493/ --- (Updated Aug. 19, 2015, 12:33 a.m.) Review request for mesos, Joris Van

Re: Review Request 37416: Perf supported() should be based on the version of perf, not the version of the kernel.

2015-08-18 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37416/ --- (Updated Aug. 19, 2015, 12:57 a.m.) Review request for mesos and Ben Mahler.

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

2015-08-18 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37283/#review95802 --- Ship it! Ship It! - Guangya Liu On 八月 18, 2015, 6:58 p.m.,

Re: Review Request 37589: Remove unnecessary usage information.

2015-08-18 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37589/#review95808 --- Ship it! Ship It! - Guangya Liu On 八月 18, 2015, 6:36 p.m.,

Re: Review Request 37416: Perf supported() should be based on the version of perf, not the version of the kernel.

2015-08-18 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37416/#review95809 --- src/linux/perf.cpp (lines 384 - 385)

Re: Review Request 37417: Convert Perf event validator to use new shared object.

2015-08-18 Thread Paul Brett
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37417/ --- (Updated Aug. 18, 2015, 11:01 p.m.) Review request for mesos and Ben Mahler.

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

2015-08-18 Thread Guangya Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37177/#review95805 --- include/mesos/maintenance/maintenance.hpp (line 38)

Re: Review Request 37424: Timeout the perf future if the process does not complete.

2015-08-18 Thread Ben Mahler
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37424/#review95773 --- Ship it! Thanks, the summary here is now stale, but I'll update it

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 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 37562: The revocable resource information also are missed for slave node in monitoring doc , fix it in this patch.

2015-08-18 Thread Vinod Kone
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37562/#review95728 --- Ship it! Ship It! - Vinod Kone On Aug. 18, 2015, 5:11 a.m.,