[mesos] branch master updated: Added descriptions of new ACLs to `upgrades.md`.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 1bed4dc Added descriptions of new ACLs

[mesos] branch master updated: Updated Mesos version to 1.8.0.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new cb7ccfd Updated Mesos version to 1.8.0

[mesos] branch 1.7.x updated: Updated the 1.7.0 CHANGELOG.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/1.7.x by this push: new a0b28b1 Updated the 1.7.0 CHANGELOG. a0b28b1

[mesos] branch master updated: Updated the 1.7.0 CHANGELOG.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new f844aac Updated the 1.7.0 CHANGELOG. f844aac

[mesos] 01/02: Removed sorter changes from `upgrades.md`.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit 96ba9b9cfe918652098878a9b9ce27d0f572aff3 Author: Chun-Hung Hsiao AuthorDate: Tue Aug 21 15:19:09 2018 -0700 Removed

[mesos] branch 1.7.x updated (0231831 -> 2c563a7)

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git. from 0231831 Organized the 1.7.0 CHANGELOG highlights by project area. new 96ba9b9 Removed sorter changes from

[mesos] 02/02: Updated `upgrades.md`.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit 2c563a708606d7e44952c4f73cb44c652be58734 Author: Chun-Hung Hsiao AuthorDate: Tue Aug 21 15:57:56 2018 -0700 Updated

[mesos] branch master updated (c705345 -> 1b5ad18)

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from c705345 Marked HDFS image fetching as experimental. new 7928d44 Removed sorter changes from `upgrades.md

[mesos] 02/02: Updated `upgrades.md`.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 1b5ad18cb139c80f31ee015ecd8f339b86e404ae Author: Chun-Hung Hsiao AuthorDate: Tue Aug 21 15:57:56 2018 -0700

[mesos] 01/02: Removed sorter changes from `upgrades.md`.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 7928d443fb612fa35493cca0d46bc71bd74488f9 Author: Chun-Hung Hsiao AuthorDate: Tue Aug 21 15:19:09 2018 -0700

[mesos] 01/03: Updated CHANGELOG to mention highlights instead of new features.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit ffe818d81a9558d06bc300a98ff6ceb0ace9d034 Author: Benjamin Mahler AuthorDate: Tue Aug 21 12:13:52 2018 -0700 Updated

[mesos] 03/03: Organized the 1.7.0 CHANGELOG highlights by project area.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit 023183131f43a947490b9c389df0e5fb5876a0e8 Author: Benjamin Mahler AuthorDate: Tue Aug 21 12:53:06 2018 -0700

[mesos] branch 1.7.x updated (972313b -> 0231831)

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git. from 972313b Marked HDFS image fetching as experimental. new ffe818d Updated CHANGELOG to mention highlights

[mesos] 02/03: Added 1.7.0 performance improvements to the CHANGELOG.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit dfdf77f966301b9ad139cf67db1597355c34dad5 Author: Benjamin Mahler AuthorDate: Tue Aug 21 11:35:17 2018 -0700 Added

[mesos] branch 1.7.x updated: Marked HDFS image fetching as experimental.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/1.7.x by this push: new 972313b Marked HDFS image fetching

[mesos] branch master updated: Marked HDFS image fetching as experimental.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new c705345 Marked HDFS image fetching

[mesos] branch 1.7.x updated: Removed MESOS-4509 from the 1.7.0 CHANGELOG.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/1.7.x by this push: new d83f5f9 Removed MESOS-4509 from the 1.7.0

[mesos] branch master updated: Removed MESOS-4509 from the 1.7.0 CHANGELOG.

2018-08-21 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new dbcf3c6 Removed MESOS-4509 from the 1.7.0

[mesos] branch 1.7.x updated: Added MESOS-9116 to the 1.7.0 CHANGELOG.

2018-08-20 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/1.7.x by this push: new 496e6c1 Added MESOS-9116 to the 1.7.0 CHANGELOG

[mesos] branch master updated: Added MESOS-9116 to the 1.7.0 CHANGELOG.

2018-08-20 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new c73cafd Added MESOS-9116 to the 1.7.0

svn commit: r28855 - /release/mesos/KEYS

2018-08-20 Thread chhsiao
Author: chhsiao Date: Mon Aug 20 19:28:09 2018 New Revision: 28855 Log: Added a GPG key for Chun-Hung Hsiao. Modified: release/mesos/KEYS Modified: release/mesos/KEYS == --- release/mesos/KEYS (original) +++ release

[mesos] 01/02: Only update profiles when getting `200 OK` in `UriDiskProfileAdaptor`.

2018-08-17 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit bc33c803f98e645f5ded1656ea47f0332fb47cc0 Author: Chun-Hung Hsiao AuthorDate: Fri Aug 17 10:17:12 2018 -0700 Only

[mesos] branch 1.7.x updated (52675cb -> bbed93b)

2018-08-17 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git. from 52675cb Added MESOS-9156 to the 1.7.0 CHANGELOG. new bc33c80 Only update profiles when getting `200 OK

[mesos] 02/02: Added MESOS-9163 to the 1.7.0 CHANGELOG.

2018-08-17 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit bbed93bfac381e27830872bd9534845b8d250997 Author: Chun-Hung Hsiao AuthorDate: Fri Aug 17 10:35:00 2018 -0700 Added

[mesos] 01/02: Only update profiles when getting `200 OK` in `UriDiskProfileAdaptor`.

2018-08-17 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit cd0a55250dd32f03b48d584114c8c52c7d797de7 Author: Chun-Hung Hsiao AuthorDate: Fri Aug 17 10:17:12 2018 -0700 Only

[mesos] 02/02: Added MESOS-9163 to the 1.7.0 CHANGELOG.

2018-08-17 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 808485da01387bd27a51cb82a90b1f8301d613ee Author: Chun-Hung Hsiao AuthorDate: Fri Aug 17 10:35:00 2018 -0700 Added

[mesos] branch master updated (0b5ad3a -> 808485d)

2018-08-17 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from 0b5ad3a Added MESOS-9156 to the 1.7.0 CHANGELOG. new cd0a552 Only update profiles when getting `200 OK

[mesos] 01/02: Properly defer'ed calls to SLRP's `fatal` method.

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit f1fb83083be2f24db182235a87c10c48ab45adee Author: Benjamin Bannier AuthorDate: Thu Aug 16 17:05:23 2018 -0700

[mesos] 02/02: Added MESOS-9156 to the 1.7.0 CHANGELOG.

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git commit 52675cb2cd972039335cecea48ec3d2510922936 Author: Chun-Hung Hsiao AuthorDate: Thu Aug 16 17:18:41 2018 -0700 Added

[mesos] branch 1.7.x updated (c64b901 -> 52675cb)

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git. from c64b901 Added MESOS-9160 to the 1.7.0 CHANGELOG. new f1fb830 Properly defer'ed calls to SLRP's `fatal` method

[mesos] 01/02: Properly defer'ed calls to SLRP's `fatal` method.

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 911a618064326dfbdfde5c7113b771ccf07d1a4a Author: Benjamin Bannier AuthorDate: Thu Aug 16 17:05:23 2018 -0700

[mesos] 02/02: Added MESOS-9156 to the 1.7.0 CHANGELOG.

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 0b5ad3a8fc629588db97bb17d2100699ed47b39d Author: Chun-Hung Hsiao AuthorDate: Thu Aug 16 17:18:41 2018 -0700 Added

[mesos] branch master updated (353e203 -> 0b5ad3a)

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from 353e203 Added MESOS-9147 to the 1.4.3 CHANGELOG. new 911a618 Properly defer'ed calls to SLRP's `fatal` method

[mesos] branch 1.7.x updated: Added MESOS-9160 to the 1.7.0 CHANGELOG.

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/1.7.x by this push: new c64b901 Added MESOS-9160 to the 1.7.0 CHANGELOG

[mesos] branch master updated: Added MESOS-9160 to the 1.7.0 CHANGELOG.

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new e638a88 Added MESOS-9160 to the 1.7.0

[mesos] branch 1.7.x updated: Fixed grpc compilation for directory paths with symlinks.

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/1.7.x by this push: new 2aef98a Fixed grpc compilation for directory

[mesos] branch master updated: Fixed grpc compilation for directory paths with symlinks.

2018-08-16 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 03a297d Fixed grpc compilation for directory

[mesos] branch 1.7.x created (now 33b9f66)

2018-08-13 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch 1.7.x in repository https://gitbox.apache.org/repos/asf/mesos.git. at 33b9f66 Updated the 1.7.0 CHANGELOG. No new revisions were added by this update.

[mesos] branch master updated: Updated the 1.7.0 CHANGELOG.

2018-08-13 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 33b9f66 Updated the 1.7.0 CHANGELOG. 33b9f66

[mesos] branch master updated: Built gRPC support in mesos-tidy.

2018-08-09 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new 874c752 Built gRPC support in mesos-tidy

[mesos] 01/02: Pass compiler/linker flags when building the gRPC bundle in Mesos.

2018-08-07 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 1b2e1adfaa763b6326a5c2cd8aef74cfc5461ebc Author: Chun-Hung Hsiao AuthorDate: Mon Aug 6 18:20:36 2018 -0700 Pass

[mesos] 02/02: Pass compiler/linker flags when building the gRPC bundle in libprocess.

2018-08-07 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 4b9a0d553492731c3529cda1e3938591fbdba9dc Author: Chun-Hung Hsiao AuthorDate: Mon Aug 6 18:28:26 2018 -0700 Pass

[mesos] branch master updated (57f22aa -> 4b9a0d5)

2018-08-07 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from 57f22aa Replaced exchange in MpscLinkedQueue::dequeue with load/store. new 1b2e1ad Pass compiler/linker flags

[mesos] branch master updated: Updated Git repository URLs.

2018-08-06 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git The following commit(s) were added to refs/heads/master by this push: new d96c89e Updated Git repository URLs. d96c89e

[mesos] branch master updated (72878f8 -> 5bb4245)

2018-08-03 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git. from 72878f8 Moved around some functions definitions between files. new 9fb936a Fixed gRPC compilation with Clang

[mesos] 01/05: Fixed gRPC compilation with Clang when building Mesos.

2018-08-03 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 9fb936abdce72e313e77aa15f0b9fc95c7fea512 Author: Chun-Hung Hsiao AuthorDate: Mon Jul 30 16:58:54 2018 -0700 Fixed

[mesos] 04/05: Always build gRPC in libprocess.

2018-08-03 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 200ed1d83c80f2c21ba04e25b2248f40c30b234a Author: Chun-Hung Hsiao AuthorDate: Fri Jul 27 12:00:01 2018 -0700 Always

[mesos] 05/05: Always build gRPC in Mesos.

2018-08-03 Thread chhsiao
This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 5bb42453b1bbadf0c51b0965206fe9b4e71a00f5 Author: Chun-Hung Hsiao AuthorDate: Thu Jul 26 16:32:38 2018 -0700 Always

[2/2] mesos git commit: Implemented authorization for agent `GET_RESOURCE_PROVIDER` calls.

2018-08-01 Thread chhsiao
Implemented authorization for agent `GET_RESOURCE_PROVIDER` calls. Review: https://reviews.apache.org/r/68104/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/58cd5445 Tree:

mesos git commit: Fixed rapidjson cmake compilation.

2018-07-26 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master 815b30ce8 -> e3f9f3ac9 Fixed rapidjson cmake compilation. Review: https://reviews.apache.org/r/68073 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e3f9f3ac Tree:

mesos git commit: Updated documentation for `CREATE_DISK` and `DESTROY_DISK`.

2018-07-26 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master ddd00e54c -> 815b30ce8 Updated documentation for `CREATE_DISK` and `DESTROY_DISK`. Review: https://reviews.apache.org/r/67918 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed a linking issue with gRPC.

2018-07-25 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master 2685f1488 -> b571aff20 Fixed a linking issue with gRPC. Review: https://reviews.apache.org/r/68030/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b571aff2 Tree:

mesos git commit: Removed outdated comments regarding `Slave::executorTerminated`.

2018-07-17 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master 841f652b2 -> 80881423b Removed outdated comments regarding `Slave::executorTerminated`. Review: https://reviews.apache.org/r/67901/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Made gRPC call options configurable.

2018-07-17 Thread chhsiao
connection, Method&& method, - Request&& request) + Request&& request, + const CallOptions& options) { // Create a `Promise` that will be set upon receiving a response. // TODO(chhsiao): The `Promise` in the `shared_ptr` is not share

[1/2] mesos git commit: Passed the default options when making gRPC calls.

2018-07-17 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master abf11a951 -> 841f652b2 Passed the default options when making gRPC calls. Review: https://reviews.apache.org/r/67947 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[11/17] mesos git commit: Added a `TestDiskProfileServer` helper.

2018-07-13 Thread chhsiao
+private: + void initialize() override + { +route("/profiles", None(), ::profiles); + } +}; + + +class TestDiskProfileServer +{ +public: + static inline process::Future> create() + { +// TODO(chhsiao): Make `server` a `unique_ptr` and move it into the +// following lambda once we get

[06/17] mesos git commit: Updated tests to adapt `CREATE_DISK` and `DESTROY_DISK` operations.

2018-07-13 Thread chhsiao
Updated tests to adapt `CREATE_DISK` and `DESTROY_DISK` operations. Review: https://reviews.apache.org/r/67864 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/73d1da08 Tree:

[16/17] mesos git commit: Added a unit test for disappeared profiles.

2018-07-13 Thread chhsiao
Added a unit test for disappeared profiles. The `ROOT_ProfileDisappeared` tests if a `CREATE_VOLUME` consuming a RAW disk with a disappeared profile will be dropped, and if the disk space freed by a `DESTROY_VOLUME` destroying a volume with a disappeared profile will be recovered with a newly

[14/17] mesos git commit: Made disk type checks in SLRP hard assertions.

2018-07-13 Thread chhsiao
Made disk type checks in SLRP hard assertions. Since the disk types of the `CREATE_DISK` and `DESTROY_DISK` should have been validated by the master, we now use `CHECK`s instead of returning failures. Review: https://reviews.apache.org/r/67892 Project:

[08/17] mesos git commit: Allowed resources to be removed in the hierarchical allocator.

2018-07-13 Thread chhsiao
+ // Check that the changed quantities af the framework's allocation is exactly + // the same as the resources removed by the resource conversions. + // + // TODO(chhsiao): Revisit this constraint if we want to support other type of + // resource conversions. See MESOS-9015. + co

[05/17] mesos git commit: Declined unwanted offers in `RetryOperationStatusUpdate*` SLRP tests.

2018-07-13 Thread chhsiao
Declined unwanted offers in `RetryOperationStatusUpdate*` SLRP tests. The two SLRP tests assume that SLRP will send out a RAW resource in its first `UPDATE_STATE` message, and expect that the test framework would receive an offer containing the RAW resource in its first offer. However this

[13/17] mesos git commit: Updated Mesos implementation to process `CREATE_DISK` & `DESTROY_DISK`.

2018-07-13 Thread chhsiao
CHECK(operation.info().has_destroy_disk()); - conversions = applyDestroyVolumeOrBlock( - operation.info().destroy_volume().volume()); - - break; -} -case Offer::Operation::CREATE_BLOCK: { - CHECK(operation.info().has_create_block()); - - conversions = applyCre

[15/17] mesos git commit: Made the `UriDiskProfileAdaptor` module configurable in SLRP tests.

2018-07-13 Thread chhsiao
Made the `UriDiskProfileAdaptor` module configurable in SLRP tests. This patch changes the `setupDiskProfileMapping` helper used in SLRP tests to `createDiskProfileMapping`, which returns a JSON string with a configurable profile name instead of writing the JSON into a fixed path. This gives us

[03/17] mesos git commit: Made SLRP be able to handle disappeared profiles.

2018-07-13 Thread chhsiao
g. -// TODO(chhsiao): Handle profile deactivation. if (profileInfos.contains(profile)) { continue; } @@ -3087,12 +3094,15 @@ StorageLocalResourceProviderProcess::applyCreateVolumeOrBlock( case Resource::DiskInfo::Source::PATH: case Resource::DiskInfo

[10/17] mesos git commit: Allowed resources to be removed when updating the sorter.

2018-07-13 Thread chhsiao
Allowed resources to be removed when updating the sorter. This patch allows the allocator to remove resources when calling `Sorter::update`, so Mesos can remove resources that are no longer available through resource conversions. An example usage is that we can make `DESTROY_VOLUME` to convert a

[17/17] mesos git commit: Renamed the `NewProfile` SLRP test and made it based on offers.

2018-07-13 Thread chhsiao
Renamed the `NewProfile` SLRP test and made it based on offers. The test is renamed to `ProfileAppeared` to reflect the fact that the SLRP passively observed a profile showing up, not actively adding a profile. The test is changed from intercepting `UpdateSlaveMessage`s to checking offers to

[01/17] mesos git commit: Made `UriDiskProfileAdaptor` be able to handle disappeared profiles.

2018-07-13 Thread chhsiao
profile + "' does not apply to resource provider with " +"type '" + resourceProviderInfo.type() + "' and name '" + +resourceProviderInfo.name() + "'"); + } - // TODO(chhsiao): A storage resource provider may need to translate - //

[12/17] mesos git commit: Fixed a bug in `TestCSIPlugin::DeleteVolume`.

2018-07-13 Thread chhsiao
Fixed a bug in `TestCSIPlugin::DeleteVolume`. The test CSI plugin mistakenly reduce the available capacity instead of expanding it when deleting a volume. This patch fixes this bug. Review: https://reviews.apache.org/r/67668 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[09/17] mesos git commit: Fixed a race between `UPDATE_STATE` and `UPDATE_OPERATION_STATUS`.

2018-07-13 Thread chhsiao
Fixed a race between `UPDATE_STATE` and `UPDATE_OPERATION_STATUS`. Since a resource provider and its operation status update manager run in different actors, the `UPDATE_OPERATION_STATUS` call of a completed operation may race with an `UPDATE_STATE` call. To deal with this race, the agent should

[04/17] mesos git commit: Reconciled storage pools when destroying volumes with stale profiles.

2018-07-13 Thread chhsiao
viderProcess::recover() statusUpdateManager.pause(); - auto err = [](const string& message) { -LOG(ERROR) - << "Failed to watch for DiskProfileAdaptor: " << message; - }; - - // Start watching the

[02/17] mesos git commit: Fixed a race condition in `UriDiskProfileAdaptorTests`.

2018-07-13 Thread chhsiao
Fixed a race condition in `UriDiskProfileAdaptorTests`. There was a race between `Clock::advance()` in the `FetchFromHTTP` test and `delay()` in `UriDiskProfileAdaptorProcess::_poll`. This patch avoids the race by enforcing an order between the dispatch of the `__poll` function (previously

[07/17] mesos git commit: Introduced `CREATE_DISK` and `DESTROY_DISK` operations.

2018-07-13 Thread chhsiao
Introduced `CREATE_DISK` and `DESTROY_DISK` operations. This patch introduces `CREATE_DISK` and `DESTROY_DISK` operations for conversion between RAW disk resaurces and MOUNT/BLOCK disk resources to replace `CREATE_VOLUME`/`DESTROY_VOLUME`/`CREATE_BLOCK`/`DESTROY_BLOCK`. This replacement involves

mesos git commit: Fixed the error log in POSIX `os::rmdir`.

2018-07-11 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master 4bcfefe21 -> 2915a80bd Fixed the error log in POSIX `os::rmdir`. The POSIX implementation of `os::rmdir` uses FTS functions to walk through all paths under a given directory. According to the manpage, the `fts_path` field "contains the

[2/3] mesos git commit: Added MESOS-9049 to the 1.5.2 CHANGELOG.

2018-07-03 Thread chhsiao
Added MESOS-9049 to the 1.5.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/92ab6847 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/92ab6847 Diff:

[3/3] mesos git commit: Added MESOS-9049 to the 1.4.2 CHANGELOG.

2018-07-03 Thread chhsiao
Added MESOS-9049 to the 1.4.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3052d05e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3052d05e Diff:

[1/3] mesos git commit: Added MESOS-9049 to the 1.6.1 CHANGELOG.

2018-07-03 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master 35eba3923 -> 3052d05e9 Added MESOS-9049 to the 1.6.1 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/72efed01 Tree:

[2/3] mesos git commit: Added MESOS-8830 to the 1.6.1 CHANGELOG.

2018-07-02 Thread chhsiao
Added MESOS-8830 to the 1.6.1 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5cce5d47 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5cce5d47 Diff:

[3/3] mesos git commit: Added MESOS-8830 to the 1.4.2 CHANGELOG.

2018-07-02 Thread chhsiao
Added MESOS-8830 to the 1.4.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2fc1f5b1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2fc1f5b1 Diff:

[1/3] mesos git commit: Added MESOS-8830 to the 1.5.2 CHANGELOG.

2018-07-02 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master 173212549 -> 2fc1f5b10 Added MESOS-8830 to the 1.5.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/925c35a6 Tree:

[2/3] mesos git commit: Rewrote the `ROOT_BusyMountPoint` test to reflect updated behavior.

2018-07-02 Thread chhsiao
Rewrote the `ROOT_BusyMountPoint` test to reflect updated behavior. The current `ROOT_BusyMountPoint` test would fail because we added support for unmounting dangling mount points in directory to gc. This patch rewrote this test to reflect that after unmounting, the gc succeeded, directory was

[3/3] mesos git commit: Unmounted any mount points in gc paths.

2018-07-02 Thread chhsiao
Unmounted any mount points in gc paths. In various corner cases, agent may not get chance to properly unmount persistent volumes mounted inside an executor's sandbox. When GC later gets to these sandbox directories, permanent data loss can happen (see MESOS-8830). Currently, the only mounts in

[1/3] mesos git commit: Added MESOS-8830 to the 1.4.2 CHANGELOG.

2018-07-02 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/1.4.x c35e06b58 -> e7b117e0d Added MESOS-8830 to the 1.4.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e7b117e0 Tree:

[2/4] mesos git commit: Skipped metric for non existing paths in gc.

2018-07-02 Thread chhsiao
Skipped metric for non existing paths in gc. Previously, agent gc would increment the "failed" counter if the path does not exist, but this should not be an issue. This patch skipped such paths in both "failed" and "succeeded" counters. Review: https://reviews.apache.org/r/67423 Project:

[1/4] mesos git commit: Added MESOS-8830 to the 1.5.2 CHANGELOG.

2018-07-02 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/1.5.x c25ff6494 -> f541ec0ff Added MESOS-8830 to the 1.5.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f541ec0f Tree:

[3/4] mesos git commit: Rewrote the `ROOT_BusyMountPoint` test to reflect updated behavior.

2018-07-02 Thread chhsiao
Rewrote the `ROOT_BusyMountPoint` test to reflect updated behavior. The current `ROOT_BusyMountPoint` test would fail because we added support for unmounting dangling mount points in directory to gc. This patch rewrote this test to reflect that after unmounting, the gc succeeded, directory was

[4/4] mesos git commit: Unmounted any mount points in gc paths.

2018-07-02 Thread chhsiao
Unmounted any mount points in gc paths. In various corner cases, agent may not get chance to properly unmount persistent volumes mounted inside an executor's sandbox. When GC later gets to these sandbox directories, permanent data loss can happen (see MESOS-8830). Currently, the only mounts in

[4/4] mesos git commit: Unmounted any mount points in gc paths.

2018-07-02 Thread chhsiao
Unmounted any mount points in gc paths. In various corner cases, agent may not get chance to properly unmount persistent volumes mounted inside an executor's sandbox. When GC later gets to these sandbox directories, permanent data loss can happen (see MESOS-8830). Currently, the only mounts in

[2/4] mesos git commit: Skipped metric for non existing paths in gc.

2018-07-02 Thread chhsiao
Skipped metric for non existing paths in gc. Previously, agent gc would increment the "failed" counter if the path does not exist, but this should not be an issue. This patch skipped such paths in both "failed" and "succeeded" counters. Review: https://reviews.apache.org/r/67423 Project:

[3/4] mesos git commit: Rewrote the `ROOT_BusyMountPoint` test to reflect updated behavior.

2018-07-02 Thread chhsiao
Rewrote the `ROOT_BusyMountPoint` test to reflect updated behavior. The current `ROOT_BusyMountPoint` test would fail because we added support for unmounting dangling mount points in directory to gc. This patch rewrote this test to reflect that after unmounting, the gc succeeded, directory was

[1/4] mesos git commit: Added MESOS-8830 to the 1.6.1 CHANGELOG.

2018-07-02 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/1.6.x 131d88788 -> ccc1c128d Added MESOS-8830 to the 1.6.1 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ccc1c128 Tree:

mesos git commit: Fixed flaky test `DefaultExecutorTest.SigkillExecutor`.

2018-06-28 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master 40188e68e -> 90c5c0b41 Fixed flaky test `DefaultExecutorTest.SigkillExecutor`. Fixed flaky test `DefaultExecutorTest.SigkillExecutor` by setting action to ignore subsequent offer calls. Review: https://reviews.apache.org/r/67778/

mesos git commit: Fixed the flakiness in the `NVIDIA_GPU_NvidiaDockerImage` test.

2018-06-15 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master 594ddb30c -> 9da882d4d Fixed the flakiness in the `NVIDIA_GPU_NvidiaDockerImage` test. This test is flaky because it tries to download the 1GB 'nvidia/cuda' image from Docker Hub, which might take more than 1 minute and cause the command

mesos git commit: Made `NoopResourceEstimator` return a forever-pending future.

2018-06-12 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master f1c0377a9 -> 8d2cebe5e Made `NoopResourceEstimator` return a forever-pending future. There is no need for the noop resource estimator to return a ready future of empty resource since it is only activated when the user does not want to use

[1/2] mesos git commit: Used move constructors for making CSI gRPC calls.

2018-06-08 Thread chhsiao
Repository: mesos Updated Branches: refs/heads/master 4bfe2dbab -> e0a77d826 Used move constructors for making CSI gRPC calls. This patch takes the advantages of the moving constructors of the CSI request protobuf messages to avoid copying the messages. Review:

[2/2] mesos git commit: Refactored the gRPC client runtime wrapper in libprocess.

2018-06-08 Thread chhsiao
ynchronized (data->lock) { - if (data->terminating) { -return Failure("Runtime has been terminated."); - } - - std::shared_ptr<::grpc::ClientContext> context( - new ::grpc::ClientContext()); - - // TODO(chhsiao): Allow the caller to specify

[05/12] mesos git commit: Added a unit test for SLRP operation state metrics.

2018-05-31 Thread chhsiao
ot.values.at(metricName( + "csi_controller_plugin_terminations"))); + ASSERT_NE(0u, snapshot.values.count(metricName( + "csi_node_plugin_terminations"))); + EXPECT_EQ(1, snapshot.values.at(metricName( + "csi_node_plugin_terminations"))); +} + + +// This t

[09/12] mesos git commit: Added per-CSI-call RPC metrics for SLRP.

2018-05-31 Thread chhsiao
client) { csi::v0::DeleteVolumeRequest request; request.set_volume_id(volumeId); -return client.DeleteVolume(request) +return call(client, std::move(request)) .then([] { return Nothing(); }); })); } @@ -2681,7 +2719,8 @@ Future St

[11/12] mesos git commit: Moved the "Resource Provider" section to `resource-provider.md`.

2018-05-31 Thread chhsiao
Moved the "Resource Provider" section to `resource-provider.md`. The concept of resource providers should have a documentation file separated from `csi.md`. This patch moves the "Resource Provider" section from `csi.md` to `resource-provider.md` as a start, and also for preventing dangling links

[04/12] mesos git commit: Fixed filters in test `ROOT_ReconcileDroppedOperation` for consistency.

2018-05-31 Thread chhsiao
Fixed filters in test `ROOT_ReconcileDroppedOperation` for consistency. Review: https://reviews.apache.org/r/67257 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/261fcca2 Tree:

[02/12] mesos git commit: Added tests of resource provider registrar recovery.

2018-05-31 Thread chhsiao
Added tests of resource provider registrar recovery. Review: https://reviews.apache.org/r/67009/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9c8eee35 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9c8eee35 Diff:

<    1   2   3   4   5   6   7   8   >