[2/2] mesos git commit: Added a hash function for Node.

2014-12-09 Thread bmahler
Added a hash function for Node. Review: https://reviews.apache.org/r/28869 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f1537180 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f1537180 Diff:

[01/11] mesos git commit: Simplified AllocatorTest.Whitelist by adding a unit test.

2014-12-11 Thread bmahler
-// that it is whitelisted, its resources will then be offered. -TYPED_TEST(MasterAllocatorTest, WhitelistSlave) +// Checks that changes to the whitelist are sent to the allocator. +// The allocator whitelisting is tested in the allocator unit tests. +// TODO(bmahler): Move this to a whitelist unit test

[03/11] mesos git commit: Converted an initial DRF integration test to a unit test.

2014-12-11 Thread bmahler
::Future; +using process::PID; + +using std::map; +using std::string; +using std::vector; + +using testing::_; +using testing::AtMost; +using testing::DoAll; +using testing::DoDefault; +using testing::Eq; +using testing::SaveArg; + +// TODO(bmahler): Move the remainder of the DRFAllocatorTests to unit

[08/11] mesos git commit: Moved ReservationAllocatorTest.ReservedResources to a unit test.

2014-12-11 Thread bmahler
Moved ReservationAllocatorTest.ReservedResources to a unit test. Review: https://reviews.apache.org/r/28818 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a56c5799 Tree:

[07/11] mesos git commit: Moved DRFAllocatorTest.PerSlaveAllocation to a unit test.

2014-12-11 Thread bmahler
Moved DRFAllocatorTest.PerSlaveAllocation to a unit test. Review: https://reviews.apache.org/r/28816 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3513c21a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3513c21a

[04/11] mesos git commit: Converted an initial DRF integration test to a unit test.

2014-12-11 Thread bmahler
Converted an initial DRF integration test to a unit test. Review: https://reviews.apache.org/r/28815 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6cf1b016 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6cf1b016

[02/11] mesos git commit: Moved ReservationAllocatorTest.ResourcesReturned to a unit test.

2014-12-11 Thread bmahler
/hierarchical_allocator_tests.cpp b/src/tests/hierarchical_allocator_tests.cpp index f20be8c..4156769 100644 --- a/src/tests/hierarchical_allocator_tests.cpp +++ b/src/tests/hierarchical_allocator_tests.cpp @@ -155,6 +155,12 @@ Resources sum(const Iterable iterable) return total; } +// TODO(bmahler): These tests

[11/11] mesos git commit: Documented the expected allocator sorting semantics.

2014-12-11 Thread bmahler
+ // in the fairness calculation. This is because reserved + // resources can be allocated to any framework in the role. + // TODO(bmahler): The code is currently inconsistent in following + // this specification, see MESOS-2176. RoleSorter* roleSorter; + hashmapstd::string, FrameworkSorter

[10/11] mesos git commit: Moved DRFAllocatorTest.SameShareAllocations to a unit test.

2014-12-11 Thread bmahler
/master_allocator_tests.cpp index 8de1d2a..da32c39 100644 --- a/src/tests/master_allocator_tests.cpp +++ b/src/tests/master_allocator_tests.cpp @@ -67,117 +67,6 @@ using testing::DoDefault; using testing::Eq; using testing::SaveArg; -// TODO(bmahler): Move the remainder of the DRFAllocatorTests to unit -// tests

[4/6] mesos git commit: Removed Resources::extract in favor of reservation-based helpers.

2014-12-12 Thread bmahler
. Resources unreserved() const; - // Returns all resources in this object that are marked with the - // specified role. - // TODO(bmahler): Remove this in favor of the more explicit - // reservation-based methods above. - Resources extract(const std::string role) const; - // Returns

[3/6] mesos git commit: Updated Resources interface to expose reservations.

2014-12-12 Thread bmahler
. + Resources unreserved() const; + // Returns all resources in this object that are marked with the // specified role. + // TODO(bmahler): Remove this in favor of the more explicit + // reservation-based methods above. Resources extract(const std::string role) const; // Returns

[6/6] mesos git commit: Fixed the two level sorting in the allocator.

2014-12-12 Thread bmahler
resources and unreserved resources are used // in the fairness calculation. This is because reserved // resources can be allocated to any framework in the role. - // TODO(bmahler): The code is currently inconsistent in following - // this specification, see MESOS-2176. RoleSorter

[5/6] mesos git commit: Added an allocator unit test for allocatable resources.

2014-12-12 Thread bmahler
Added an allocator unit test for allocatable resources. Review: https://reviews.apache.org/r/28987 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/df521b02 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/df521b02

mesos git commit: Fixed a compilation issue on gcc 4.4.7.

2014-12-16 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 049a62108 - ea240f290 Fixed a compilation issue on gcc 4.4.7. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ea240f29 Tree:

[1/2] mesos git commit: Removed an unnecessary helper in the sorter tests.

2014-12-16 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master ea240f290 - d244b08cf Removed an unnecessary helper in the sorter tests. Review: https://reviews.apache.org/r/29088 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Fixed the DRFSorter share calculation to not assume flattened resources.

2014-12-16 Thread bmahler
Fixed the DRFSorter share calculation to not assume flattened resources. Review: https://reviews.apache.org/r/29089 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d244b08c Tree:

[2/2] mesos git commit: Updated Allocator to allow transforming allocated resources.

2014-12-17 Thread bmahler
].role)); + + // Update the allocated resources. + // TODO(bmahler): Check transformation invariants! Namely, + // we don't want the quantity or the static roles of the + // allocation to be altered. + TryResources transformedAllocation = (*transformation)(allocation); + + CHECK_SOME

mesos git commit: Replaced a bad allocator CHECK with a TODO.

2014-12-18 Thread bmahler
(); - // The available resources should be unaffected. - CHECK_EQ(slaves[slaveId].total - transformedAllocation.get(), - slaves[slaveId].available); + // TODO(bmahler): Validate that the available resources are + // unaffected. This requires augmenting the sorters with + // SlaveIDs

mesos git commit: Removed an invalid CHECK in the allocator.

2014-12-18 Thread bmahler
()); - // The role sorter should only contain the unreserved allocation. - CHECK_EQ(allocation.unreserved(), - roleSorter-allocation(frameworks[frameworkId].role)); - // Update the allocated resources. // TODO(bmahler): Check transformation invariants! Namely, // we don't want the quantity

mesos git commit: Removed the torque / MPI document.

2015-01-14 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master cb824bfae - b67d93062 Removed the torque / MPI document. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b67d9306 Tree:

mesos git commit: Added initial Call handler in the Master for accepting offers.

2015-01-14 Thread bmahler
handler functions for certain messages. installSubmitSchedulerRequest( Master::submitScheduler, @@ -1349,6 +1351,84 @@ FutureOptionError Master::validate( } +void Master::drop( +const UPID from, +const scheduler::Call call, +const string message) +{ + // TODO(bmahler

svn commit: r1651821 - in /mesos/site: publish/documentation/latest/running-torque-or-mpi-on-mesos/ publish/documentation/running-torque-or-mpi-on-mesos/ publish/sitemap.xml source/documentation/lates

2015-01-14 Thread bmahler
Author: bmahler Date: Wed Jan 14 20:57:58 2015 New Revision: 1651821 URL: http://svn.apache.org/r1651821 Log: Removed the MPI document that was accidentally re-introduced to the website. Removed: mesos/site/publish/documentation/latest/running-torque-or-mpi-on-mesos/ mesos/site/publish

mesos git commit: Added initial operational guide to document master quorum changes.

2015-01-14 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master ef37c7e02 - cb824bfae Added initial operational guide to document master quorum changes. Review: https://reviews.apache.org/r/29796 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

svn commit: r1651816 - in /mesos/site: publish/ publish/documentation/ publish/documentation/latest/ publish/documentation/latest/operational-guide/ publish/documentation/latest/running-torque-or-mpi-

2015-01-14 Thread bmahler
Author: bmahler Date: Wed Jan 14 20:47:41 2015 New Revision: 1651816 URL: http://svn.apache.org/r1651816 Log: Added operational guide to the website. Added: mesos/site/publish/documentation/latest/operational-guide/ mesos/site/publish/documentation/latest/operational-guide/index.html

mesos git commit: Added signal handling to the low level scheduler tests.

2015-01-16 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 021ccbb85 - 076889efa Added signal handling to the low level scheduler tests. Review: https://reviews.apache.org/r/29996 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Removed non-POD static function object in clock.

2015-02-11 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 501f8979f - d8ae6c863 Removed non-POD static function object in clock. Review: https://reviews.apache.org/r/30884 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Removed deprecated slave_id from ReregisterSlaveMessage.

2015-02-11 Thread bmahler
55b3a24..58484ae 100644 --- a/src/messages/messages.proto +++ b/src/messages/messages.proto @@ -264,10 +264,6 @@ message RegisterSlaveMessage { message ReregisterSlaveMessage { - // TODO(bmahler): slave_id is deprecated. - // 0.21.0: Now an optional field. Always written, never read

mesos git commit: Updated EventLoop::delay to take a lambda::function.

2015-02-17 Thread bmahler
(bmahler): Update this to use rvalue references. + static void delay( + const Duration duration, + const lambda::functionvoid(void) function); // Returns the current time w.r.t. the event loop. static double time(); http://git-wip-us.apache.org/repos/asf/mesos/blob/ae255946

[2/2] mesos git commit: Fixed a CPU-intensive bug in libprocess' clock.

2015-02-17 Thread bmahler
+// that we don't manipulate 'timers' or 'ticks' directly so that +// it's clear from the callsite that this needs to be called within +// a 'synchronized' block. +// TODO(bmahler): Consider taking an optional 'now' to avoid +// excessive syscalls via Clock::now(NULL). +void scheduleTick(const mapTime

[1/2] mesos git commit: Fixed a clock bug in next().

2015-02-17 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master ae255946f - 0d2c29b9f Fixed a clock bug in next(). Review: https://reviews.apache.org/r/31141 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d6e62a85 Tree:

mesos git commit: Added stack traces to the C++ test framework.

2015-01-27 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master f39b39c69 - 059b8de2e Added stack traces to the C++ test framework. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/059b8de2 Tree:

mesos git commit: Added a flag for specifying an externally managed log file.

2015-01-27 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master b99ec4275 - c624a97d3 Added a flag for specifying an externally managed log file. Review: https://reviews.apache.org/r/30328 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Fixed a race in Cluster shutdown when destroying containers.

2015-01-28 Thread bmahler
Fixed a race in Cluster shutdown when destroying containers. Review: https://reviews.apache.org/r/30353/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/977b80ae Tree:

[1/2] mesos git commit: Added an AWAIT macro for testing that futures transition out of pending.

2015-01-28 Thread bmahler
typename T1, typename T2 } +// TODO(bmahler): Differentiate EXPECT and ASSERT here. +#define AWAIT_FOR(actual, duration) \ + ASSERT_PRED_FORMAT2(Await, actual, duration) + + +#define AWAIT(actual) \ + AWAIT_FOR(actual, Seconds(10)) + + #define

[2/2] mesos git commit: Updated TestAllocatorProcess to avoid the test warnings.

2015-01-28 Thread bmahler
groups.google.com/forum/#!topic/googlemock/EX4kLxddlko for a - // suggestion for how we might be able to use 'NiceMock' here - // instead. + // + // TODO(bmahler): Update this to use the same style as the + // TestAllocatorProcess, which allows us to have default actions + // 'DoDefault

mesos git commit: Increased the timeout for the flaky SlaveTest.CommandExecutorGracefulShutdown test.

2015-01-29 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 00ad42728 - ca559f67f Increased the timeout for the flaky SlaveTest.CommandExecutorGracefulShutdown test. Review: https://reviews.apache.org/r/30402/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Increased the default AWAIT timeout.

2015-01-30 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master c9ba83e27 - 76270a7ca Increased the default AWAIT timeout. Review: https://reviews.apache.org/r/30463 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/76270a7c Tree:

mesos git commit: Introduced an Accept Call for performing operations on Offers.

2015-01-12 Thread bmahler
: { resources: [ disk(role):2 ] } } + // { type: CREATE, + // create: { volumes: [ disk(role):1+persistence ] } } + // { type: LAUNCH, + // launch: { task_infos ... disk(role):1;disk(role):1+persistence } } + // ] + // } + // + // TODO(bmahler): Not implemented

mesos git commit: Removed superfluous comments in ResourceStatistics.

2015-02-13 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 9175d8273 - 033c06211 Removed superfluous comments in ResourceStatistics. Review: https://reviews.apache.org/r/30947 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/3] mesos git commit: Moved the raw path formatting strings into a .cpp file.

2015-01-08 Thread bmahler
+ +#include slave/paths.hpp + +using std::list; +using std::string; + +namespace mesos { +namespace internal { +namespace slave { +namespace paths { + +// TODO(bmahler): Replace these non-POD globals, per MESOS-1023. + +// File names. +const string BOOT_ID_FILE = boot_id; +const string

[3/3] mesos git commit: Documented the slave's filesystem layout.

2015-01-08 Thread bmahler
Documented the slave's filesystem layout. Review: https://reviews.apache.org/r/29677 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7b1a0038 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7b1a0038 Diff:

[1/2] mesos git commit: Fixed whitespace in future.hpp.

2015-03-16 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 64b12f50e - b6d2f2def Fixed whitespace in future.hpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/94d90d00 Tree:

[2/2] mesos git commit: Restored TODO on Future lost during 2885c809.

2015-03-16 Thread bmahler
Restored TODO on Future lost during 2885c809. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b6d2f2de Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b6d2f2de Diff:

mesos git commit: Removed misleading comment getFieldID.

2015-03-17 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master c9a1e0aee - 0bedceb73 Removed misleading comment getFieldID. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0bedceb7 Tree:

mesos git commit: Introduced an http::Pipe abstraction to simplify streaming HTTP Responses.

2015-03-20 Thread bmahler
to the pipe will +// correspond to to an equivalent read from the pipe, and the +// reader must keep up with the writer in order to avoid +// unbounded memory growth. +// +// TODO(bmahler): The writer needs to be able to induce a failure +// on the reader to signal an error has occurred. For example

mesos git commit: Replaced raw pointer by Owned pointer in ExternalContainerizer.

2015-03-20 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 961c26528 - f8a1afd31 Replaced raw pointer by Owned pointer in ExternalContainerizer. Review: https://reviews.apache.org/r/32233 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Reserved memory for JSON arrays in the master's http endpoints.

2015-03-12 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master acaee563a - 0c7104d4d Reserved memory for JSON arrays in the master's http endpoints. Review: https://reviews.apache.org/r/31700 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Removed unnecessary forward declarations in encoder.hpp.

2015-03-11 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master f9f474c26 - ab49a3cee Removed unnecessary forward declarations in encoder.hpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ab49a3ce Tree:

[09/12] mesos git commit: Removed use of 'assert' in decoder.hpp.

2015-03-24 Thread bmahler
Removed use of 'assert' in decoder.hpp. Review: https://reviews.apache.org/r/32345 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/50fd69ab Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/50fd69ab Diff:

[04/12] mesos git commit: Moved http::Request::accepts from header into cpp file.

2015-03-24 Thread bmahler
-#include stout/numify.hpp #include stout/option.hpp #include stout/stringify.hpp #include stout/strings.hpp @@ -62,67 +61,7 @@ struct Request // Returns whether the encoding is considered acceptable in the request. // TODO(bmahler): Consider this logic being in decoder.hpp, and having

[06/12] mesos git commit: Moved http::URL output operator from header to .cpp file.

2015-03-24 Thread bmahler
Moved http::URL output operator from header to .cpp file. Review: https://reviews.apache.org/r/32340 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7d37e4a8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7d37e4a8

[03/12] mesos git commit: Fixed a copy/paste naming mistake in decoder_tests.cpp.

2015-03-24 Thread bmahler
Fixed a copy/paste naming mistake in decoder_tests.cpp. Review: https://reviews.apache.org/r/32341 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/39426df6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/39426df6

[12/12] mesos git commit: Re-ordered and updated documentation for http::get/post/put.

2015-03-24 Thread bmahler
Re-ordered and updated documentation for http::get/post/put. Review: https://reviews.apache.org/r/32348 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/103b6ea3 Tree:

[02/12] mesos git commit: Updated the http-parser upgrade TODO.

2015-03-24 Thread bmahler
/3rdparty/libprocess/src/decoder.hpp @@ -15,7 +15,9 @@ #include stout/try.hpp -// TODO(bmahler): Upgrade our http_parser to the latest version. +// TODO(bmahler): Switch to joyent/http-parser now that it is no +// longer being hosted under ry/http-parser. + namespace process { // TODO(benh

[01/12] mesos git commit: Re-ordered decoder callbacks to be in execution order.

2015-03-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 9b14ba2e4 - a0d201b71 Re-ordered decoder callbacks to be in execution order. Review: https://reviews.apache.org/r/32343 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[05/12] mesos git commit: Moved http::initialize from header to .cpp file.

2015-03-24 Thread bmahler
: +// http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html +extern hashmapuint16_t, std::string statuses; + +// Initializes 'statuses'. +// TODO(bmahler): Provide a function that returns the string for +// a status code instead! +void initialize(); + + struct Request { // TODO(benh): Add major

[11/12] mesos git commit: Removed http::put and added a TODO.

2015-03-24 Thread bmahler
/libprocess/include/process/http.hpp index 616f380..faffae7 100644 --- a/3rdparty/libprocess/include/process/http.hpp +++ b/3rdparty/libprocess/include/process/http.hpp @@ -521,6 +521,10 @@ std::ostream operator ( const URL url); +// TODO(bmahler): Consolidate these functions into a single

[3/3] mesos git commit: Added http::streaming::get/post for client-side streaming responses.

2015-03-30 Thread bmahler
, const Optionhashmapstring, string _headers, const Optionstring body, const Optionstring contentType) @@ -685,6 +796,13 @@ FutureResponse _request( headers[Content-Length] = stringify(body.get().length()); } + // TODO(bmahler): Use a 'Request' and a 'RequestEncoder' here

mesos git commit: Fixed a compiler issue on gcc-4.6.

2015-03-30 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master f7fccce2e - 905e6cca7 Fixed a compiler issue on gcc-4.6. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/905e6cca Tree:

[2/5] mesos git commit: Added ability to inject the RateLimiter for slave removals.

2015-02-27 Thread bmahler
Added ability to inject the RateLimiter for slave removals. Review: https://reviews.apache.org/r/31512 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ad09e909 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ad09e909

[1/5] mesos git commit: Added virtual to RateLimiter methods to enable mocking.

2015-02-27 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master bc7a24cf3 - d55a7239c Added virtual to RateLimiter methods to enable mocking. Review: https://reviews.apache.org/r/31511 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[4/5] mesos git commit: Added rate limiting to slave removals during master failover.

2015-02-27 Thread bmahler
().hostname() ) did not re-register - within the timeout; removing it from the registrar; +// Need to disambiguate for the compiler. +// TODO(bmahler): With C++11, just call removeSlave from within +// a lambda function to avoid the need to disambiguate. +Nothing

[3/5] mesos git commit: Improved slave removal rate limiting tests.

2015-02-27 Thread bmahler
::Flags flags = None()); + // Starts a master with a slave removal rate limiter and flags. + virtual Tryprocess::PIDmaster::Master StartMaster( + const memory::shared_ptrMockRateLimiter slaveRemovalLimiter, + const Optionmaster::Flags flags = None()); + // TODO(bmahler): Consider

[2/2] mesos git commit: Removed double semicolons.

2015-02-27 Thread bmahler
Removed double semicolons. Review: https://reviews.apache.org/r/31416 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/bc7a24cf Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/bc7a24cf Diff:

[8/8] mesos git commit: Updated documentation for explicit acknowledgement API change.

2015-02-21 Thread bmahler
Updated documentation for explicit acknowledgement API change. Review: https://reviews.apache.org/r/30978 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/33699793 Tree:

[2/8] mesos git commit: Updated Java bindings for explicit acknowledgements.

2015-02-21 Thread bmahler
Updated Java bindings for explicit acknowledgements. Review: https://reviews.apache.org/r/30972 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/28d5f932 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/28d5f932 Diff:

[5/8] mesos git commit: Added JNI construct for booleans.

2015-02-21 Thread bmahler
Added JNI construct for booleans. Review: https://reviews.apache.org/r/30970 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/10269912 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/10269912 Diff:

[7/8] mesos git commit: Added explicit acknowledgement integration tests.

2015-02-21 Thread bmahler
Added explicit acknowledgement integration tests. Review: https://reviews.apache.org/r/30977 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a7df8d9b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a7df8d9b Diff:

[4/8] mesos git commit: Updated Python bindings for explicit acknowledgements.

2015-02-21 Thread bmahler
Updated Python bindings for explicit acknowledgements. Review: https://reviews.apache.org/r/30973 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e4013c0a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e4013c0a

mesos git commit: Fixed a flaky reconciliation test.

2015-02-23 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 8aab0f4c4 - 2eada1ab4 Fixed a flaky reconciliation test. Review: https://reviews.apache.org/r/31315 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2eada1ab Tree:

mesos git commit: Fixed an incorrect metric for slave removals.

2015-03-26 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 72548a736 - b9a8dcac7 Fixed an incorrect metric for slave removals. Review: https://reviews.apache.org/r/32555 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/3] mesos git commit: Fixed the flaky FaultToleranceTest.eSchedulerFailoverFrameworkMessage test.

2015-01-29 Thread bmahler
Fixed the flaky FaultToleranceTest.eSchedulerFailoverFrameworkMessage test. Review: https://reviews.apache.org/r/30423 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/99389235 Tree:

[3/3] mesos git commit: Removed some unnecessary comments.

2015-01-29 Thread bmahler
Removed some unnecessary comments. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c9ba83e2 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/c9ba83e2 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/c9ba83e2

mesos git commit: Fixed wrapping in the flag.cpp files.

2015-04-13 Thread bmahler
?, + true); - add(Flags::work_dir, work_dir, + add(Flags::work_dir, + work_dir, Directory path to store the persistent information stored in the \n Registry. (example: /var/lib/mesos/master)); // TODO(bmahler): Consider removing 'in_memory' as it was only // used

[1/3] mesos git commit: Split up documentation for reporting bugs and submitting patches.

2015-04-23 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 8ff3fd05d - 929c6e7a4 Split up documentation for reporting bugs and submitting patches. Review: https://reviews.apache.org/r/32995 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

svn commit: r1675709 [3/3] - in /mesos/site: publish/ publish/documentation/ publish/documentation/latest/ publish/documentation/latest/mesos-roadmap/ publish/documentation/latest/reporting-a-bug/ pub

2015-04-23 Thread bmahler
Modified: mesos/site/source/documentation/latest.html.md URL: http://svn.apache.org/viewvc/mesos/site/source/documentation/latest.html.md?rev=1675709r1=1675708r2=1675709view=diff == ---

svn commit: r1675709 [1/3] - in /mesos/site: publish/ publish/documentation/ publish/documentation/latest/ publish/documentation/latest/mesos-roadmap/ publish/documentation/latest/reporting-a-bug/ pub

2015-04-23 Thread bmahler
Author: bmahler Date: Thu Apr 23 19:38:40 2015 New Revision: 1675709 URL: http://svn.apache.org/r1675709 Log: Documentation updates from git. Added: mesos/site/publish/documentation/latest/reporting-a-bug/ mesos/site/publish/documentation/latest/reporting-a-bug/index.html mesos/site

svn commit: r1675734 - in /mesos/site: publish/documentation/index.html publish/documentation/latest/index.html source/documentation/latest.html.md

2015-04-23 Thread bmahler
Author: bmahler Date: Thu Apr 23 23:19:35 2015 New Revision: 1675734 URL: http://svn.apache.org/r1675734 Log: Fixed a broken link in the documentation home. Modified: mesos/site/publish/documentation/index.html mesos/site/publish/documentation/latest/index.html mesos/site/source

Git Push Summary

2015-04-23 Thread bmahler
Repository: mesos Updated Branches: refs/heads/bmahler_documentation [deleted] af742b2a0

[1/2] mesos git commit: Added a document for engineering principles and practices.

2015-04-23 Thread bmahler
Repository: mesos Updated Branches: refs/heads/bmahler_documentation [created] af742b2a0 Added a document for engineering principles and practices. Review: https://reviews.apache.org/r/32999 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

svn commit: r1675481 - /mesos/README

2015-04-22 Thread bmahler
Author: bmahler Date: Wed Apr 22 19:58:35 2015 New Revision: 1675481 URL: http://svn.apache.org/r1675481 Log: Passed README through /usr/bin/fmt. Modified: mesos/README Modified: mesos/README URL: http://svn.apache.org/viewvc/mesos/README?rev=1675481r1=1675480r2=1675481view=diff

mesos git commit: Fixed the python bindings to use implicit acknoweldgements by default.

2015-04-22 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 4289616e1 - c36d59963 Fixed the python bindings to use implicit acknoweldgements by default. Review: https://reviews.apache.org/r/33452 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Set the supplementary groups list when switching users.

2015-04-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 5346affc5 - edaaccffa Set the supplementary groups list when switching users. Review: https://reviews.apache.org/r/33491 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

svn commit: r1677225 - in /mesos/site/source: community.html.md layouts/community_section.erb

2015-05-01 Thread bmahler
Author: bmahler Date: Fri May 1 20:51:31 2015 New Revision: 1677225 URL: http://svn.apache.org/r1677225 Log: Fixed broken community links. Modified: mesos/site/source/community.html.md mesos/site/source/layouts/community_section.erb Modified: mesos/site/source/community.html.md URL

svn commit: r1677226 [2/2] - in /mesos/site/publish: community/committers/index.html community/index.html community/user-groups/index.html sitemap.xml

2015-05-01 Thread bmahler
Modified: mesos/site/publish/sitemap.xml URL: http://svn.apache.org/viewvc/mesos/site/publish/sitemap.xml?rev=1677226r1=1677225r2=1677226view=diff == --- mesos/site/publish/sitemap.xml (original) +++

svn commit: r1677226 [1/2] - in /mesos/site/publish: community/committers/index.html community/index.html community/user-groups/index.html sitemap.xml

2015-05-01 Thread bmahler
Author: bmahler Date: Fri May 1 20:52:37 2015 New Revision: 1677226 URL: http://svn.apache.org/r1677226 Log: Publish fixed community links. Modified: mesos/site/publish/community/committers/index.html mesos/site/publish/community/index.html mesos/site/publish/community/user-groups

mesos git commit: Fixed a compiler error for --enable-optimize builds.

2015-05-04 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master e7e7c50f7 - 322cb8b77 Fixed a compiler error for --enable-optimize builds. Review: https://reviews.apache.org/r/33828 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/3] mesos git commit: Slowed the webui polling for larger clusters.

2015-05-07 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master d37889da1 - 115db9250 Slowed the webui polling for larger clusters. Review: https://reviews.apache.org/r/33933 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/3] mesos git commit: Added the client address to http::Request.

2015-05-07 Thread bmahler
/minor version. // TODO(bmahler): Header names are not case sensitive! Either make these // case-insensitive, or add a variable for each header in HTTP 1.0/1.1 (like http://git-wip-us.apache.org/repos/asf/mesos/blob/21ee7fa5/3rdparty/libprocess/src/process.cpp

svn commit: r1677682 [3/3] - in /mesos/site: publish/ publish/blog/ publish/blog/mesos-0-21-0-released/ publish/documentation/latest/mesos-c++-style-guide/ publish/documentation/latest/release-guide/

2015-05-04 Thread bmahler
Modified: mesos/site/source/blog/2014-11-17-mesos-0-21-0-released.md URL: http://svn.apache.org/viewvc/mesos/site/source/blog/2014-11-17-mesos-0-21-0-released.md?rev=1677682r1=1677681r2=1677682view=diff == ---

mesos git commit: Updated a missed 'socket.send' example in C++ style guide.

2015-05-04 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master ed8253f40 - e7e7c50f7 Updated a missed 'socket.send' example in C++ style guide. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e7e7c50f Tree:

mesos git commit: Fixed the 'signalWrapper' non-POD.

2015-05-13 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 9db83273e - 8e6df2a28 Fixed the 'signalWrapper' non-POD. Review: https://reviews.apache.org/r/34016 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8e6df2a2 Tree:

mesos git commit: Updated sorter to take resources by SlaveID.

2015-05-13 Thread bmahler
frameworkId, const Resources allocated, @@ -428,9 +430,10 @@ HierarchicalAllocatorProcessRoleSorter, FrameworkSorter::addSlave( // TODO(bmahler): Validate that the reserved resources have the // framework's role. - roleSorter-allocated(role, allocated.unreserved

[2/4] mesos git commit: Moved a partition test into partition_tests.cpp.

2015-05-13 Thread bmahler
Moved a partition test into partition_tests.cpp. Review: https://reviews.apache.org/r/33153 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/23a51be1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/23a51be1 Diff:

[4/4] mesos git commit: Moved the slave shutdown test into slave_tests.cpp.

2015-05-13 Thread bmahler
Moved the slave shutdown test into slave_tests.cpp. Review: https://reviews.apache.org/r/33152 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/085c75cb Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/085c75cb Diff:

[3/4] mesos git commit: Added reason metrics for slave removals.

2015-05-13 Thread bmahler
update. + // + // TODO(bmahler): Differentiate between slave removal reasons + // (e.g. unhealthy vs. unregistered for maintenance). enum Reason { REASON_COMMAND_EXECUTOR_FAILED = 0; REASON_EXECUTOR_TERMINATED = 1; http://git-wip-us.apache.org/repos/asf/mesos/blob/cc395509/src/master

[1/4] mesos git commit: Added tests for slave removal metrics.

2015-05-13 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 288e58807 - a00ffc855 Added tests for slave removal metrics. Review: https://reviews.apache.org/r/33155 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a00ffc85 Tree:

svn commit: r1679485 [2/2] - in /mesos/site/publish: community/index.html sitemap.xml

2015-05-14 Thread bmahler
Modified: mesos/site/publish/sitemap.xml URL: http://svn.apache.org/viewvc/mesos/site/publish/sitemap.xml?rev=1679485r1=1679484r2=1679485view=diff == --- mesos/site/publish/sitemap.xml (original) +++

svn commit: r1679484 - /mesos/site/source/community.html.md

2015-05-14 Thread bmahler
Author: bmahler Date: Fri May 15 01:40:24 2015 New Revision: 1679484 URL: http://svn.apache.org/r1679484 Log: Added link on community page to JIRA guidelines. Modified: mesos/site/source/community.html.md Modified: mesos/site/source/community.html.md URL: http://svn.apache.org/viewvc/mesos

[1/2] mesos git commit: Used move assignment in the master's state.json endpoint.

2015-04-09 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master a5a28336b - 5028490f9 Used move assignment in the master's state.json endpoint. This is a simple attempt at improvement for MESOS-2353 in the interim of writing a more comprehensive JSON benchmark. Per the discussion on r/31700, moves

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