mesos-site git commit: Updated the website built from mesos SHA: a22e2b2.
Repository: mesos-site Updated Branches: refs/heads/asf-site 242482255 -> 6d6c6269c Updated the website built from mesos SHA: a22e2b2. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/6d6c6269 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/6d6c6269 Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/6d6c6269 Branch: refs/heads/asf-site Commit: 6d6c6269cfa0664bf0b023910505aad5d6218cd3 Parents: 2424822 Author: jenkinsAuthored: Tue Feb 20 04:05:12 2018 + Committer: jenkins Committed: Tue Feb 20 04:05:12 2018 + -- content/blog/feed.xml | 2 +- content/blog/performance-working-group-progress-report/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6d6c6269/content/blog/feed.xml -- diff --git a/content/blog/feed.xml b/content/blog/feed.xml index 6187e3a..b51ff31 100644 --- a/content/blog/feed.xml +++ b/content/blog/feed.xml @@ -295,7 +295,7 @@ To learn more about CSI work in Mesos, you can dig into the design document /ul -pIf you are a user and would like to suggest some areas for performance improvement, please let us know by emailing a href=#x6d;#97;#x69;#108;#x74;#x6f;#58;#x64;#101;#x76;#64;#97;#112;#x61;#99;#x68;#x65;#46;#109;#x65;#115;#111;#x73;#46;#111;#114;#x67;#100;#x65;#x76;#64;#97;#x70;#x61;#99;#104;#101;#46;#109;#101;#x73;#111;#x73;#x2e;#x6f;#x72;#103;/a./p +pIf you are a user and would like to suggest some areas for performance improvement, please let us know by emailing a href=#109;#x61;#105;#108;#116;#111;#x3a;#100;#101;#x76;#64;#x61;#x70;#x61;#99;#104;#x65;#x2e;#109;#101;#115;#x6f;#115;#x2e;#x6f;#114;#x67;#x64;#x65;#x76;#64;#x61;#112;#97;#x63;#x68;#101;#46;#x6d;#101;#115;#x6f;#x73;#x2e;#111;#x72;#x67;/a./p http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6d6c6269/content/blog/performance-working-group-progress-report/index.html -- diff --git a/content/blog/performance-working-group-progress-report/index.html b/content/blog/performance-working-group-progress-report/index.html index 59a4724..336a4a0 100644 --- a/content/blog/performance-working-group-progress-report/index.html +++ b/content/blog/performance-working-group-progress-report/index.html @@ -248,7 +248,7 @@ -If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing . +If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing .
mesos git commit: Fixed a spelling error in a comment.
Repository: mesos Updated Branches: refs/heads/master 1d0e7e7a4 -> 1a4c8cb36 Fixed a spelling error in a comment. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1a4c8cb3 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1a4c8cb3 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1a4c8cb3 Branch: refs/heads/master Commit: 1a4c8cb366d84e2d890937e57da3dbd7e81fb2b5 Parents: 1d0e7e7 Author: James PeachAuthored: Mon Feb 19 16:54:21 2018 -0800 Committer: James Peach Committed: Mon Feb 19 16:54:31 2018 -0800 -- src/slave/containerizer/mesos/linux_launcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/1a4c8cb3/src/slave/containerizer/mesos/linux_launcher.cpp -- diff --git a/src/slave/containerizer/mesos/linux_launcher.cpp b/src/slave/containerizer/mesos/linux_launcher.cpp index 1546b6b..daba093 100644 --- a/src/slave/containerizer/mesos/linux_launcher.cpp +++ b/src/slave/containerizer/mesos/linux_launcher.cpp @@ -515,7 +515,7 @@ Try LinuxLauncherProcess::fork( // (1) Create the freezer cgroup, and add the child to the cgroup. // (2) Create the systemd cgroup, and add the child to the cgroup. // - // NOTE: The order is important here because the destory code will + // NOTE: The order is important here because the destroy code will // always kill the container based on the pids in the freezer // cgroup. The systemd cgroup will be removed after that. Therefore, // we want to make sure that if the pid is in the systemd cgroup, it
[1/2] mesos-site git commit: Updated the website built from mesos SHA: 1a4c8cb.
Repository: mesos-site Updated Branches: refs/heads/asf-site e926f51dd -> 242482255 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/24248225/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml index efb4776..86f5429 100644 --- a/content/sitemap.xml +++ b/content/sitemap.xml @@ -2,18086 +2,18086 @@ http://www.sitemaps.org/schemas/sitemap/0.9;> http://mesos.apache.org/api/latest/java/overview-tree.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/help-doc.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/constant-values.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/allclasses-frame.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/deprecated-list.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/allclasses-noframe.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TaskState.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RateLimit.Builder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CheckInfo.Http.Builder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.SlaveInfo.CapabilityOrBuilder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Volume.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.LinuxInfo.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Type.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ResourceProviderInfo.Builder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ContainerInfoOrBuilder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ParameterOrBuilder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Operation.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Throttling.Statistics.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Flag.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TimeInfo.Builder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Builder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.CFQ.StatisticsOrBuilder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TTYInfoOrBuilder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Ports.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CommandInfo.URI.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Offer.Operation.DestroyVolume.Builder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.UdpStatistics.Builder.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Operation.html -2018-02-19T00:00:00+00:00 +2018-02-20T00:00:00+00:00
[2/2] mesos-site git commit: Updated the website built from mesos SHA: 1a4c8cb.
Updated the website built from mesos SHA: 1a4c8cb. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/24248225 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/24248225 Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/24248225 Branch: refs/heads/asf-site Commit: 242482255fb799730f920363d51f4e2059dc45b8 Parents: e926f51 Author: jenkinsAuthored: Tue Feb 20 01:19:10 2018 + Committer: jenkins Committed: Tue Feb 20 01:19:10 2018 + -- content/blog/feed.xml |2 +- .../index.html |2 +- content/sitemap.xml | 9042 +- 3 files changed, 4523 insertions(+), 4523 deletions(-) -- http://git-wip-us.apache.org/repos/asf/mesos-site/blob/24248225/content/blog/feed.xml -- diff --git a/content/blog/feed.xml b/content/blog/feed.xml index 1a3b612..6187e3a 100644 --- a/content/blog/feed.xml +++ b/content/blog/feed.xml @@ -295,7 +295,7 @@ To learn more about CSI work in Mesos, you can dig into the design document /ul -pIf you are a user and would like to suggest some areas for performance improvement, please let us know by emailing a href=#109;#97;#x69;#x6c;#x74;#x6f;#x3a;#x64;#101;#x76;#x40;#97;#112;#x61;#99;#104;#101;#46;#109;#101;#x73;#x6f;#x73;#46;#111;#114;#103;#100;#x65;#118;#x40;#x61;#112;#97;#99;#x68;#x65;#x2e;#109;#101;#115;#x6f;#115;#x2e;#111;#114;#x67;/a./p +pIf you are a user and would like to suggest some areas for performance improvement, please let us know by emailing a href=#x6d;#97;#x69;#108;#x74;#x6f;#58;#x64;#101;#x76;#64;#97;#112;#x61;#99;#x68;#x65;#46;#109;#x65;#115;#111;#x73;#46;#111;#114;#x67;#100;#x65;#x76;#64;#97;#x70;#x61;#99;#104;#101;#46;#109;#101;#x73;#111;#x73;#x2e;#x6f;#x72;#103;/a./p http://git-wip-us.apache.org/repos/asf/mesos-site/blob/24248225/content/blog/performance-working-group-progress-report/index.html -- diff --git a/content/blog/performance-working-group-progress-report/index.html b/content/blog/performance-working-group-progress-report/index.html index fb21d1e..59a4724 100644 --- a/content/blog/performance-working-group-progress-report/index.html +++ b/content/blog/performance-working-group-progress-report/index.html @@ -248,7 +248,7 @@ -If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing . +If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing .
mesos git commit: Fixed a spelling error in a Failure message.
Repository: mesos Updated Branches: refs/heads/master 1a4c8cb36 -> a22e2b206 Fixed a spelling error in a Failure message. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a22e2b20 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a22e2b20 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a22e2b20 Branch: refs/heads/master Commit: a22e2b2060b498a612d61d6077234b9b3286a00a Parents: 1a4c8cb Author: James PeachAuthored: Mon Feb 19 18:19:53 2018 -0800 Committer: James Peach Committed: Mon Feb 19 18:19:53 2018 -0800 -- src/slave/containerizer/mesos/provisioner/backends/aufs.cpp| 2 +- src/slave/containerizer/mesos/provisioner/backends/overlay.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/a22e2b20/src/slave/containerizer/mesos/provisioner/backends/aufs.cpp -- diff --git a/src/slave/containerizer/mesos/provisioner/backends/aufs.cpp b/src/slave/containerizer/mesos/provisioner/backends/aufs.cpp index 53ccbd1..c2cdd93 100644 --- a/src/slave/containerizer/mesos/provisioner/backends/aufs.cpp +++ b/src/slave/containerizer/mesos/provisioner/backends/aufs.cpp @@ -146,7 +146,7 @@ Future AufsBackendProcess::provision( Try mktemp = os::mkdtemp(); if (mktemp.isError()) { return Failure( -"Failued to create temporary directory for symlinks to layers: " + +"Failed to create temporary directory for symlinks to layers: " + mktemp.error()); } http://git-wip-us.apache.org/repos/asf/mesos/blob/a22e2b20/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp -- diff --git a/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp b/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp index 54d3e43..e32b991 100644 --- a/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp +++ b/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp @@ -153,7 +153,7 @@ Future OverlayBackendProcess::provision( Try mktemp = os::mkdtemp(); if (mktemp.isError()) { return Failure( - "Failued to create temporary directory for symlinks to layers: " + + "Failed to create temporary directory for symlinks to layers: " + mktemp.error()); }
[3/4] mesos git commit: Added the v1 API 'GET_OPERATIONS' call for master and agent.
Added the v1 API 'GET_OPERATIONS' call for master and agent. The 'GET_OPERATIONS' call lists all operations known to master or agent. Review: https://reviews.apache.org/r/65044/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c6de89e1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/c6de89e1 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/c6de89e1 Branch: refs/heads/master Commit: c6de89e148bec735bb6fb975a1d6b17e3f6192c9 Parents: 2aed1d6 Author: Jan SchlichtAuthored: Mon Feb 19 15:15:45 2018 +0100 Committer: Benjamin Bannier Committed: Mon Feb 19 15:15:45 2018 +0100 -- include/mesos/agent/agent.proto | 11 ++ include/mesos/master/master.proto| 9 + include/mesos/v1/agent/agent.proto | 11 ++ include/mesos/v1/master/master.proto | 9 + src/master/http.cpp | 28 +++ src/master/master.hpp| 5 + src/master/validation.cpp| 3 + src/slave/http.cpp | 28 +++ src/slave/http.hpp | 5 + src/slave/validation.cpp | 3 + src/tests/api_tests.cpp | 289 ++ 11 files changed, 401 insertions(+) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/c6de89e1/include/mesos/agent/agent.proto -- diff --git a/include/mesos/agent/agent.proto b/include/mesos/agent/agent.proto index 3158200..7d92cb8 100644 --- a/include/mesos/agent/agent.proto +++ b/include/mesos/agent/agent.proto @@ -60,6 +60,9 @@ message Call { // Retrieves the information about known executors. GET_EXECUTORS = 12; +// Retrieves the information about known operations. +GET_OPERATIONS = 31; + // Retrieves the information about known tasks. GET_TASKS = 13; @@ -413,6 +416,7 @@ message Response { GET_CONTAINERS = 9; GET_FRAMEWORKS = 10; // See 'GetFrameworks' below. GET_EXECUTORS = 11;// See 'GetExecutors' below. +GET_OPERATIONS = 17; // See 'GetOperations' below. GET_TASKS = 12;// See 'GetTasks' below. GET_AGENT = 14;// See 'GetAgent' below. GET_RESOURCE_PROVIDERS = 16; // See 'GetResourceProviders' below. @@ -506,6 +510,12 @@ message Response { repeated Executor completed_executors = 2; } + // Lists information about all operations known to the agent at the + // current time. + message GetOperations { +repeated Operation operations = 1; + } + // Lists information about all the tasks known to the agent at the current // time. message GetTasks { @@ -599,6 +609,7 @@ message Response { optional GetContainers get_containers = 10; optional GetFrameworks get_frameworks = 11; optional GetExecutors get_executors = 12; + optional GetOperations get_operations = 18; optional GetTasks get_tasks = 13; optional GetAgent get_agent = 15; optional GetResourceProviders get_resource_providers = 17; http://git-wip-us.apache.org/repos/asf/mesos/blob/c6de89e1/include/mesos/master/master.proto -- diff --git a/include/mesos/master/master.proto b/include/mesos/master/master.proto index 3e34634..f40caa2 100644 --- a/include/mesos/master/master.proto +++ b/include/mesos/master/master.proto @@ -62,6 +62,7 @@ message Call { GET_AGENTS = 10; GET_FRAMEWORKS = 11; GET_EXECUTORS = 12; // Retrieves the information about all executors. +GET_OPERATIONS = 33;// Retrieves the information about known operations. GET_TASKS = 13; // Retrieves the information about all known tasks. GET_ROLES = 14; // Retrieves the information about roles. @@ -260,6 +261,7 @@ message Response { GET_AGENTS = 9; GET_FRAMEWORKS = 10; GET_EXECUTORS = 11;// See 'GetExecutors' below. +GET_OPERATIONS = 19; // See 'GetOperations' below. GET_TASKS = 12;// See 'GetTasks' below. GET_ROLES = 13;// See 'GetRoles' below. @@ -416,6 +418,12 @@ message Response { repeated Executor orphan_executors = 2 [deprecated=true]; } + // Lists information about all operations known to the master at the + // current time. + message GetOperations { +repeated Operation operations = 1; + } + // Lists information about all the tasks known to the master at the current // time. Note that there might be tasks unknown to the master running on // partitioned or unsubscribed agents. @@ -498,6 +506,7 @@ message Response { optional GetAgents get_agents = 10; optional GetFrameworks get_frameworks = 11; optional GetExecutors get_executors = 12; + optional
[4/4] mesos git commit: Tested correct operation handling during master failover.
Tested correct operation handling during master failover. Review: https://reviews.apache.org/r/65045/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8c9184a0 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8c9184a0 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8c9184a0 Branch: refs/heads/master Commit: 8c9184a03fa6b6fe842eb3554220d3ed2c327cdc Parents: c6de89e Author: Jan SchlichtAuthored: Mon Feb 19 15:15:55 2018 +0100 Committer: Benjamin Bannier Committed: Mon Feb 19 15:15:55 2018 +0100 -- src/tests/master_tests.cpp | 212 1 file changed, 212 insertions(+) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/8c9184a0/src/tests/master_tests.cpp -- diff --git a/src/tests/master_tests.cpp b/src/tests/master_tests.cpp index 28663c7..3705fa7 100644 --- a/src/tests/master_tests.cpp +++ b/src/tests/master_tests.cpp @@ -8743,6 +8743,218 @@ TEST_F(MasterTest, UpdateSlaveMessageWithPendingOffers) } +// Tests that the master correctly handles resource provider operations +// that finished during a master failover. +TEST_F(MasterTest, OperationUpdateDuringFailover) +{ + Clock::pause(); + + master::Flags masterFlags = CreateMasterFlags(); + + Try master = StartMaster(masterFlags); + ASSERT_SOME(master); + + slave::Flags slaveFlags = CreateSlaveFlags(); + + // TODO(nfnt): Remove this once 'MockResourceProvider' supports + // authentication. + slaveFlags.authenticate_http_readwrite = false; + + // Set the resource provider capability. + vector capabilities = slave::AGENT_CAPABILITIES(); + SlaveInfo::Capability capability; + capability.set_type(SlaveInfo::Capability::RESOURCE_PROVIDER); + capabilities.push_back(capability); + + slaveFlags.agent_features = SlaveCapabilities(); + slaveFlags.agent_features->mutable_capabilities()->CopyFrom( + {capabilities.begin(), capabilities.end()}); + + Future updateSlaveMessage = +FUTURE_PROTOBUF(UpdateSlaveMessage(), _, _); + + StandaloneMasterDetector detector(master.get()->pid); + Try slave = StartSlave(, slaveFlags); + ASSERT_SOME(slave); + + Clock::advance(slaveFlags.registration_backoff_factor); + + AWAIT_READY(updateSlaveMessage); + + // Register a resource provider with the agent. + mesos::v1::ResourceProviderInfo resourceProviderInfo; + resourceProviderInfo.set_type("org.apache.mesos.resource_provider.test"); + resourceProviderInfo.set_name("test"); + + v1::Resources resourceProviderResources = v1::createDiskResource( + "200", + "*", + None(), + None(), + v1::createDiskSourceRaw()); + + v1::MockResourceProvider resourceProvider( + resourceProviderInfo, + resourceProviderResources); + + Owned endpointDetector( + resource_provider::createEndpointDetector(slave.get()->pid)); + + updateSlaveMessage = FUTURE_PROTOBUF(UpdateSlaveMessage(), _, _); + + resourceProvider.start( + endpointDetector, + ContentType::PROTOBUF, + v1::DEFAULT_CREDENTIAL); + + AWAIT_READY(updateSlaveMessage); + + // Start a framework to operate on offers. + MockScheduler sched; + TestingMesosSchedulerDriver driver(, ); + + // Expect a registration as well as a re-registration after master + // failover. + EXPECT_CALL(sched, registered(, _, _)) +.Times(2); + + Future offers; + EXPECT_CALL(sched, resourceOffers(, _)) +.WillOnce(FutureArg<1>()) +.WillRepeatedly(Return()); // Ignore subsequent offers. + + driver.start(); + + AWAIT_READY(offers); + ASSERT_FALSE(offers->empty()); + const Offer& offer = offers->front(); + + Option rawDisk; + + foreach (const Resource& resource, offer.resources()) { +if (resource.has_provider_id() && +resource.has_disk() && +resource.disk().has_source() && +resource.disk().source().type() == Resource::DiskInfo::Source::RAW) { + rawDisk = resource; + break; +} + } + + ASSERT_SOME(rawDisk); + + Future operation; + EXPECT_CALL(resourceProvider, applyOperation(_)) +.WillOnce(FutureArg<0>()); + + driver.acceptOffers( + {offer.id()}, + {CREATE_VOLUME(rawDisk.get(), Resource::DiskInfo::Source::MOUNT)}); + + AWAIT_READY(operation); + + Option operationUUID; + + { +v1::master::Call call; +call.set_type(v1::master::Call::GET_OPERATIONS); + +process::http::Headers headers = createBasicAuthHeaders(DEFAULT_CREDENTIAL); +headers["Accept"] = stringify(ContentType::PROTOBUF); + +Future response = process::http::post( +master.get()->pid, +"api/v1", +headers, +serialize(ContentType::PROTOBUF, call), +stringify(ContentType::PROTOBUF)); + +
[2/4] mesos git commit: Added comparison operators for 'v1::UUID'.
Added comparison operators for 'v1::UUID'. Review: https://reviews.apache.org/r/65672/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2aed1d6c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2aed1d6c Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/2aed1d6c Branch: refs/heads/master Commit: 2aed1d6ca2c31546d700dd79484c193625fc8cc9 Parents: ddecf8e Author: Jan SchlichtAuthored: Mon Feb 19 15:15:40 2018 +0100 Committer: Benjamin Bannier Committed: Mon Feb 19 15:15:40 2018 +0100 -- include/mesos/v1/mesos.hpp | 12 1 file changed, 12 insertions(+) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/2aed1d6c/include/mesos/v1/mesos.hpp -- diff --git a/include/mesos/v1/mesos.hpp b/include/mesos/v1/mesos.hpp index 04b8fd5..15723a2 100644 --- a/include/mesos/v1/mesos.hpp +++ b/include/mesos/v1/mesos.hpp @@ -124,6 +124,12 @@ inline bool operator==( } +inline bool operator==(const UUID& left, const UUID& right) +{ + return left.value() == right.value(); +} + + inline bool operator==(const AgentID& left, const AgentID& right) { return left.value() == right.value(); @@ -277,6 +283,12 @@ inline bool operator!=( } +inline bool operator!=(const UUID& left, const UUID& right) +{ + return !(left == right); +} + + inline bool operator!=(const AgentID& left, const AgentID& right) { return left.value() != right.value();
[1/4] mesos git commit: Added comparison operators for operations.
Repository: mesos Updated Branches: refs/heads/master 2c6952694 -> 8c9184a03 Added comparison operators for operations. Review: https://reviews.apache.org/r/65671/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ddecf8ee Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ddecf8ee Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ddecf8ee Branch: refs/heads/master Commit: ddecf8ee6f75ce631c5e91c49220eed12d600910 Parents: 2c69526 Author: Jan SchlichtAuthored: Mon Feb 19 15:15:35 2018 +0100 Committer: Benjamin Bannier Committed: Mon Feb 19 15:15:35 2018 +0100 -- include/mesos/type_utils.hpp | 2 ++ include/mesos/v1/mesos.hpp | 2 ++ src/common/type_utils.cpp| 14 ++ src/v1/mesos.cpp | 14 ++ 4 files changed, 32 insertions(+) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/ddecf8ee/include/mesos/type_utils.hpp -- diff --git a/include/mesos/type_utils.hpp b/include/mesos/type_utils.hpp index af2b187..2fff71f 100644 --- a/include/mesos/type_utils.hpp +++ b/include/mesos/type_utils.hpp @@ -62,6 +62,7 @@ bool operator==(const ExecutorInfo& left, const ExecutorInfo& right); bool operator==(const Label& left, const Label& right); bool operator==(const Labels& left, const Labels& right); bool operator==(const MasterInfo& left, const MasterInfo& right); +bool operator==(const Offer::Operation& left, const Offer::Operation& right); bool operator==(const OperationStatus& left, const OperationStatus& right); bool operator==( @@ -84,6 +85,7 @@ bool operator==(const Volume& left, const Volume& right); bool operator!=(const CheckStatusInfo& left, const CheckStatusInfo& right); bool operator!=(const ExecutorInfo& left, const ExecutorInfo& right); bool operator!=(const Labels& left, const Labels& right); +bool operator!=(const Offer::Operation& left, const Offer::Operation& right); bool operator!=(const OperationStatus& left, const OperationStatus& right); bool operator!=(const TaskStatus& left, const TaskStatus& right); http://git-wip-us.apache.org/repos/asf/mesos/blob/ddecf8ee/include/mesos/v1/mesos.hpp -- diff --git a/include/mesos/v1/mesos.hpp b/include/mesos/v1/mesos.hpp index f16568e..04b8fd5 100644 --- a/include/mesos/v1/mesos.hpp +++ b/include/mesos/v1/mesos.hpp @@ -60,6 +60,7 @@ bool operator==(const FileInfo& left, const FileInfo& right); bool operator==(const Label& left, const Label& right); bool operator==(const Labels& left, const Labels& right); bool operator==(const MasterInfo& left, const MasterInfo& right); +bool operator==(const Offer::Operation& left, const Offer::Operation& right); bool operator==( const ResourceProviderInfo& left, @@ -75,6 +76,7 @@ bool operator==(const URL& left, const URL& right); bool operator==(const Volume& left, const Volume& right); bool operator!=(const Labels& left, const Labels& right); +bool operator!=(const Offer::Operation& left, const Offer::Operation& right); bool operator!=(const TaskStatus& left, const TaskStatus& right); http://git-wip-us.apache.org/repos/asf/mesos/blob/ddecf8ee/src/common/type_utils.cpp -- diff --git a/src/common/type_utils.cpp b/src/common/type_utils.cpp index a4d5dcb..3c2711b 100644 --- a/src/common/type_utils.cpp +++ b/src/common/type_utils.cpp @@ -16,6 +16,8 @@ #include +#include + #include #include #include @@ -439,6 +441,12 @@ bool operator==( } +bool operator==(const Offer::Operation& left, const Offer::Operation& right) +{ + return google::protobuf::util::MessageDifferencer::Equals(left, right); +} + + bool operator==(const OperationStatus& left, const OperationStatus& right) { if (left.has_operation_id() != right.has_operation_id()) { @@ -478,6 +486,12 @@ bool operator==(const OperationStatus& left, const OperationStatus& right) } +bool operator!=(const Offer::Operation& left, const Offer::Operation& right) +{ + return !(left == right); +} + + bool operator!=(const OperationStatus& left, const OperationStatus& right) { return !(left == right); http://git-wip-us.apache.org/repos/asf/mesos/blob/ddecf8ee/src/v1/mesos.cpp -- diff --git a/src/v1/mesos.cpp b/src/v1/mesos.cpp index 576f367..1eb53f3 100644 --- a/src/v1/mesos.cpp +++ b/src/v1/mesos.cpp @@ -16,6 +16,8 @@ #include +#include + #include #include @@ -395,6 +397,18 @@ bool operator==(const MasterInfo& left, const MasterInfo& right) } +bool operator==(const Offer::Operation& left, const Offer::Operation& right) +{ +
[1/8] mesos-site git commit: Updated the website built from mesos SHA: 8c9184a.
Repository: mesos-site Updated Branches: refs/heads/asf-site a669fcb31 -> c9f3e08c5 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/blog/feed.xml -- diff --git a/content/blog/feed.xml b/content/blog/feed.xml index c0a9af3..60616a9 100644 --- a/content/blog/feed.xml +++ b/content/blog/feed.xml @@ -295,7 +295,7 @@ To learn more about CSI work in Mesos, you can dig into the design document /ul -pIf you are a user and would like to suggest some areas for performance improvement, please let us know by emailing a href=#109;#97;#105;#x6c;#x74;#111;#58;#x64;#101;#118;#x40;#97;#112;#x61;#x63;#104;#101;#46;#109;#101;#115;#x6f;#x73;#46;#x6f;#114;#103;#100;#x65;#x76;#x40;#x61;#x70;#97;#99;#104;#101;#46;#x6d;#101;#115;#111;#115;#46;#x6f;#x72;#103;/a./p +pIf you are a user and would like to suggest some areas for performance improvement, please let us know by emailing a href=#109;#97;#105;#x6c;#x74;#111;#x3a;#x64;#101;#118;#64;#97;#x70;#x61;#99;#104;#x65;#x2e;#109;#x65;#115;#x6f;#115;#46;#x6f;#x72;#103;#x64;#x65;#118;#64;#x61;#112;#97;#99;#104;#101;#x2e;#x6d;#x65;#x73;#x6f;#x73;#x2e;#111;#114;#x67;/a./p http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/blog/performance-working-group-progress-report/index.html -- diff --git a/content/blog/performance-working-group-progress-report/index.html b/content/blog/performance-working-group-progress-report/index.html index 9209565..f82a927 100644 --- a/content/blog/performance-working-group-progress-report/index.html +++ b/content/blog/performance-working-group-progress-report/index.html @@ -248,7 +248,7 @@ -If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing . +If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing .
[7/8] mesos-site git commit: Updated the website built from mesos SHA: 8c9184a.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/include_2mesos_2v1_2mesos_8hpp_source.html -- diff --git a/content/api/latest/c++/include_2mesos_2v1_2mesos_8hpp_source.html b/content/api/latest/c++/include_2mesos_2v1_2mesos_8hpp_source.html index 7826025..bd4b6d3 100644 --- a/content/api/latest/c++/include_2mesos_2v1_2mesos_8hpp_source.html +++ b/content/api/latest/c++/include_2mesos_2v1_2mesos_8hpp_source.html @@ -114,745 +114,760 @@ 60bool operator==(const Label left, const Label right); 61bool operator==(const Labels left, const Labels right); 62bool operator==(const MasterInfo left, const MasterInfo right); - 63 - 64bool operator==( - 65 const ResourceProviderInfo left, - 66 const ResourceProviderInfo right); - 67 - 68bool operator==( - 69 const ResourceStatistics left, - 70 const ResourceStatistics right); - 71 - 72bool operator==(const AgentInfo left, const AgentInfo right); - 73bool operator==(const TaskStatus left, const TaskStatus right); - 74bool operator==(const URL left, const URL right); - 75bool operator==(const Volume left, const Volume right); - 76 - 77bool operator!=(const Labels left, const Labels right); - 78bool operator!=(const TaskStatus left, const TaskStatus right); - 79 - 80 - 81inline bool operator==(const ContainerID left, const ContainerID right) - 82{ - 83 return left.value() == right.value(); - 84} - 85 - 86 - 87inline bool operator==(const ExecutorID left, const ExecutorID right) - 88{ - 89 return left.value() == right.value(); - 90} - 91 - 92 - 93inline bool operator==(const FrameworkID left, const FrameworkID right) - 94{ - 95 return left.value() == right.value(); - 96} - 97 - 98 - 99inline bool operator==(const FrameworkInfo left, const FrameworkInfo right) - 100{ - 101 return (left.name() == right.name()) (left.user() == right.user()); - 102} - 103 - 104 - 105inline bool operator==(const OfferID left, const OfferID right) - 106{ - 107 return left.value() == right.value(); - 108} - 109 - 110 - 111inline bool operator==(const OperationID left, const OperationID right) - 112{ - 113 return left.value() == right.value(); - 114} - 115 - 116 - 117inline bool operator==( - 118 const ResourceProviderID left, - 119 const ResourceProviderID right) - 120{ - 121 return left.value() == right.value(); - 122} - 123 - 124 - 125inline bool operator==(const AgentID left, const AgentID right) - 126{ - 127 return left.value() == right.value(); - 128} - 129 - 130 - 131inline bool operator==(const TaskID left, const TaskID right) - 132{ - 133 return left.value() == right.value(); - 134} - 135 - 136 - 137inline bool operator==(const TimeInfo left, const TimeInfo right) - 138{ - 139 return left.nanoseconds() == right.nanoseconds(); - 140} - 141 - 142 - 143inline bool operator==(const DurationInfo left, const DurationInfo right) - 144{ - 145 return left.nanoseconds() == right.nanoseconds(); - 146} - 147 - 148 - 149inline bool operator==(const ContainerID left, const std::string right) - 150{ - 151 return left.value() == right; - 152} - 153 - 154 - 155inline bool operator==(const ExecutorID left, const std::string right) - 156{ - 157 return left.value() == right; - 158} - 159 - 160 - 161inline bool operator==(const FrameworkID left, const std::string right) - 162{ - 163 return left.value() == right; - 164} - 165 - 166 - 167inline bool operator==(const OfferID left, const std::string right) - 168{ - 169 return left.value() == right; - 170} - 171 - 172 - 173inline bool operator==(const AgentID left, const std::string right) - 174{ - 175 return left.value() == right; - 176} - 177 - 178 - 179inline bool operator==(const TaskID left, const std::string right) - 180{ - 181 return left.value() == right; - 182} - 183 - 184 - 185inline bool operator==( - 186 const DomainInfo::FaultDomain::RegionInfo left, - 187 const DomainInfo::FaultDomain::RegionInfo right) + 63bool operator==(const Offer::Operation left, const Offer::Operation right); + 64 + 65bool operator==( + 66 const ResourceProviderInfo left, + 67 const ResourceProviderInfo right); + 68 + 69bool operator==( + 70 const ResourceStatistics left, + 71 const ResourceStatistics right); + 72 + 73bool operator==(const AgentInfo left, const AgentInfo right); + 74bool operator==(const TaskStatus left, const TaskStatus right); + 75bool operator==(const URL left, const URL right); + 76bool operator==(const Volume left, const Volume right); + 77 + 78bool operator!=(const Labels left, const Labels right); + 79bool operator!=(const Offer::Operation
[3/8] mesos-site git commit: Updated the website built from mesos SHA: 8c9184a.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/src_2slave_2http_8hpp_source.html -- diff --git a/content/api/latest/c++/src_2slave_2http_8hpp_source.html b/content/api/latest/c++/src_2slave_2http_8hpp_source.html index 2942134..65a4e1a 100644 --- a/content/api/latest/c++/src_2slave_2http_8hpp_source.html +++ b/content/api/latest/c++/src_2slave_2http_8hpp_source.html @@ -242,156 +242,161 @@ 188 const process::OwnedObjectApprover frameworksApprover, 189 const process::OwnedObjectApprover executorsApprover) const; 190 - 191 process::Futureprocess::http::Response getTasks( + 191 process::Futureprocess::http::Response getOperations( 192 const mesos::agent::Call call, 193 ContentType acceptType, 194 const Optionprocess::http::authentication::Principal principal) const; 195 - 196 mesos::agent::Response::GetTasks _getTasks( - 197 const process::OwnedObjectApprover frameworksApprover, - 198 const process::OwnedObjectApprover tasksApprover, - 199 const process::OwnedObjectApprover executorsApprover) const; + 196 process::Futureprocess::http::Response getTasks( + 197 const mesos::agent::Call call, + 198 ContentType acceptType, + 199 const Optionprocess::http::authentication::Principal principal) const; 200 - 201 process::Futureprocess::http::Response getAgent( - 202 const mesos::agent::Call call, - 203 ContentType acceptType, - 204 const Optionprocess::http::authentication::Principal principal) const; + 201 mesos::agent::Response::GetTasks _getTasks( + 202 const process::OwnedObjectApprover frameworksApprover, + 203 const process::OwnedObjectApprover tasksApprover, + 204 const process::OwnedObjectApprover executorsApprover) const; 205 - 206 process::Futureprocess::http::Response getResourceProviders( + 206 process::Futureprocess::http::Response getAgent( 207 const mesos::agent::Call call, 208 ContentType acceptType, 209 const Optionprocess::http::authentication::Principal principal) const; 210 - 211 process::Futureprocess::http::Response getState( + 211 process::Futureprocess::http::Response getResourceProviders( 212 const mesos::agent::Call call, 213 ContentType acceptType, 214 const Optionprocess::http::authentication::Principal principal) const; 215 - 216 mesos::agent::Response::GetState _getState( - 217 const process::OwnedObjectApprover frameworksApprover, - 218 const process::OwnedObjectApprover taskApprover, - 219 const process::OwnedObjectApprover executorsApprover) const; + 216 process::Futureprocess::http::Response getState( + 217 const mesos::agent::Call call, + 218 ContentType acceptType, + 219 const Optionprocess::http::authentication::Principal principal) const; 220 - 221 process::Futureprocess::http::Response launchNestedContainer( - 222 const mesos::agent::Call call, - 223 ContentType acceptType, - 224 const Optionprocess::http::authentication::Principal principal) const; + 221 mesos::agent::Response::GetState _getState( + 222 const process::OwnedObjectApprover frameworksApprover, + 223 const process::OwnedObjectApprover taskApprover, + 224 const process::OwnedObjectApprover executorsApprover) const; 225 - 226 process::Futureprocess::http::Response launchContainer( + 226 process::Futureprocess::http::Response launchNestedContainer( 227 const mesos::agent::Call call, 228 ContentType acceptType, 229 const Optionprocess::http::authentication::Principal principal) const; 230 - 231 process::Futureprocess::http::Response _launchContainer( - 232 const ContainerID containerId, - 233 const CommandInfo commandInfo, - 234 const OptionResources resources, - 235 const OptionContainerInfo containerInfo, - 236 const Optionmesos::slave::ContainerClass containerClass, - 237 ContentType acceptType, - 238 const process::OwnedAuthorizationAcceptor authorizer) const; - 239 - 240 process::Futureprocess::http::Response waitNestedContainer( - 241 const mesos::agent::Call call, + 231 process::Futureprocess::http::Response launchContainer( + 232 const mesos::agent::Call call, + 233 ContentType acceptType, + 234 const Optionprocess::http::authentication::Principal principal) const; + 235 + 236 process::Futureprocess::http::Response _launchContainer( + 237 const ContainerID containerId, + 238 const CommandInfo commandInfo, + 239 const OptionResources resources, + 240 const OptionContainerInfo containerInfo, + 241 const Optionmesos::slave::ContainerClass
[8/8] mesos-site git commit: Updated the website built from mesos SHA: 8c9184a.
Updated the website built from mesos SHA: 8c9184a. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/c9f3e08c Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/c9f3e08c Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/c9f3e08c Branch: refs/heads/asf-site Commit: c9f3e08c57248301ea8e71bce612ccc271d449f4 Parents: a669fcb Author: jenkinsAuthored: Mon Feb 19 14:43:05 2018 + Committer: jenkins Committed: Mon Feb 19 14:43:05 2018 + -- content/api/latest/c++/Nodes.xml| 30 + content/api/latest/c++/Tokens.xml | 132 + content/api/latest/c++/functions_0x68.html |6 +- content/api/latest/c++/functions_0x6d.html | 10 +- content/api/latest/c++/functions_0x6e.html | 16 +- content/api/latest/c++/functions_0x70.html |6 +- content/api/latest/c++/functions_0x72.html | 51 +- content/api/latest/c++/functions_0x73.html | 22 +- content/api/latest/c++/functions_0x74.html | 21 +- content/api/latest/c++/functions_0x75.html | 25 +- content/api/latest/c++/functions_0x77.html | 20 +- content/api/latest/c++/functions_func_0x6e.html |6 +- content/api/latest/c++/functions_func_0x70.html | 10 +- content/api/latest/c++/functions_func_0x72.html | 25 +- content/api/latest/c++/functions_func_0x74.html |9 +- content/api/latest/c++/functions_func_0x75.html |8 +- content/api/latest/c++/functions_func_0x77.html | 12 +- content/api/latest/c++/functions_rela.html | 10 +- content/api/latest/c++/functions_vars_0x6d.html |6 +- content/api/latest/c++/functions_vars_0x75.html |6 +- .../c++/include_2mesos_2v1_2mesos_8hpp.html |8 + .../include_2mesos_2v1_2mesos_8hpp_source.html | 1315 - content/api/latest/c++/index.hhc|6 + .../c++/master_2validation_8hpp_source.html |2 +- .../api/latest/c++/namespacemembers_0x6f.html | 291 +- .../latest/c++/namespacemembers_func_0x6f.html | 290 +- content/api/latest/c++/namespacemesos.html | 76 +- .../api/latest/c++/namespacemesos_1_1v1.html| 128 + .../latest/c++/protobuf__utils_8hpp_source.html |2 +- .../c++/src_2master_2master_8hpp_source.html| 2647 +- .../c++/src_2slave_2http_8hpp_source.html | 213 +- content/api/latest/c++/type__utils_8hpp.html|4 + .../api/latest/c++/type__utils_8hpp_source.html | 1413 +- content/blog/feed.xml |2 +- .../index.html |2 +- 35 files changed, 3624 insertions(+), 3206 deletions(-) -- http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/Nodes.xml -- diff --git a/content/api/latest/c++/Nodes.xml b/content/api/latest/c++/Nodes.xml index c72b658..a41dc5d 100644 --- a/content/api/latest/c++/Nodes.xml +++ b/content/api/latest/c++/Nodes.xml @@ -64147,6 +64147,11 @@ operator!= include_2mesos_2v1_2mesos_8hpp.html +ade57f380c8b94d2fda5e68f3d4882082 + + +operator!= +include_2mesos_2v1_2mesos_8hpp.html a5b1885cde2227fab3072da03224e31df @@ -64187,6 +64192,11 @@ operator!= include_2mesos_2v1_2mesos_8hpp.html +ad104fdb511ce2d4f5bc931c0fe1121f3 + + +operator!= +include_2mesos_2v1_2mesos_8hpp.html a90d342e30424da51c2686b17879bc948 @@ -64472,6 +64482,11 @@ operator== include_2mesos_2v1_2mesos_8hpp.html +a9f134434d1ccf01f05300e3ced69068a + + +operator== +include_2mesos_2v1_2mesos_8hpp.html aa5eddde89d7e2aafdc615d07f840cb1b @@ -64537,6 +64552,11 @@ operator== include_2mesos_2v1_2mesos_8hpp.html +ab721a0d844babadb1618a84ac9f27276 + + +operator== +include_2mesos_2v1_2mesos_8hpp.html a492b25711600d294e72e9eff4ee91bc0 @@ -67398,6 +67418,11 @@ operator!=
[6/8] mesos-site git commit: Updated the website built from mesos SHA: 8c9184a.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/index.hhc -- diff --git a/content/api/latest/c++/index.hhc b/content/api/latest/c++/index.hhc index e281768..232f627 100644 --- a/content/api/latest/c++/index.hhc +++ b/content/api/latest/c++/index.hhc @@ -17109,6 +17109,7 @@ + @@ -17117,6 +17118,7 @@ + @@ -17174,6 +17176,7 @@ + @@ -17187,6 +17190,7 @@ + @@ -17877,6 +17881,7 @@ + @@ -17946,6 +17951,7 @@ + http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/master_2validation_8hpp_source.html -- diff --git a/content/api/latest/c++/master_2validation_8hpp_source.html b/content/api/latest/c++/master_2validation_8hpp_source.html index 61b4511..15710b5 100644 --- a/content/api/latest/c++/master_2validation_8hpp_source.html +++ b/content/api/latest/c++/master_2validation_8hpp_source.html @@ -407,7 +407,7 @@ mesos::internal::master::validation::offer::getOfferOffer * getOffer(Master *master, const OfferID offerId) mesos::internal::master::validation::resource::internal::validateSingleResourceProviderOption Error validateSingleResourceProvider(const google::protobuf::RepeatedPtrField Resource resources) cgroups::createTry Nothing create(const std::string hierarchy, const std::string cgroup, bool recursive=false) -mesos::internal::master::FrameworkDefinition: master.hpp:2160 +mesos::internal::master::FrameworkDefinition: master.hpp:2165 mesos::internal::master::validation::executor::internal::validateResourcesOption Error validateResources(const ExecutorInfo executor) mesos::internal::master::MasterDefinition: master.hpp:392 mesos::internal::master::validation::task::validateOption Error validate(const TaskInfo task, Framework *framework, Slave *slave, const Resources offered) http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/namespacemembers_0x6f.html -- diff --git a/content/api/latest/c++/namespacemembers_0x6f.html b/content/api/latest/c++/namespacemembers_0x6f.html index 81b2102..42c9bc8 100644 --- a/content/api/latest/c++/namespacemembers_0x6f.html +++ b/content/api/latest/c++/namespacemembers_0x6f.html @@ -101,43 +101,47 @@ operator!=() : mesos +, mesos::v1 +, mesos , mesos::v1 -, mesos -, mesos::v1 , mesos -, mesos::v1 -, mesos +, mesos::v1 +, mesos +, mesos::v1 +, mesos +, mesos::v1 , mesos::internal::protobuf::slave +, mesos , csi -, mesos , mesos::internal -, mesos +, mesos +, mesos::internal , mesos::internal::slave +, mesos , process -, mesos , JSON -, os -, mesos -, os , mesos +, os , mesos::v1 -, mesos -, mesos::v1 +, os +, mesos +, mesos::v1 , mesos +, mesos::v1 +, mesos , mesos::v1 -, mesos -, mesos::v1 operator+() -: mesos +: process +, mesos , mesos::v1 , mesos , process operator+=() -: mesos::v1 -, mesos +: mesos , mesos::v1 +, mesos operator-() : mesos @@ -156,205 +160,208 @@ , proc operator() -: mesos -, mesos::internal::slave +: mesos +, mesos::internal::slave +, mesos +, mesos::internal::slave +, mesos , process::network::inet -, mesos , process::network::unix +, mesos , process::http::authentication -, mesos , process +, mesos , process::http -, mesos , process::http::authentication +, mesos , process +, mesos +, process , mesos -, process +, process +, flags , mesos -, process +, flags +, net , mesos -, flags +, net +, JSON , mesos -, net +, JSON , mesos -, JSON +, JSON , mesos -, JSON +, JSON , mesos -, JSON -, mesos -, JSON , net -, mesos , os -, mesos +, mesos +, os , proc -, mesos +, mesos , mesos::v1::agent , mesos::v1 , mesos::v1::executor , mesos::v1::master , mesos::v1 -, mesos::internal::slave -, mesos::v1 +, mesos::internal::slave::cni::spec , mesos::internal::slave +, mesos::v1 +, mesos::internal +, mesos::v1 +, mesos::internal +, mesos::internal::log +, mesos::v1 +, mesos::internal , mesos::v1 -, mesos::internal +, mesos::internal::master +, routing +, routing::filter::ip , mesos::v1 -, mesos::internal::log +, cgroups::devices , mesos::v1 -, mesos::internal -, mesos::internal::master +, cgroups::blkio , mesos::v1 -, routing -, routing::filter::ip +, mesos::internal::capabilities , mesos::v1 -, cgroups::devices -, cgroups::memory::pressure -, mesos::v1
[4/8] mesos-site git commit: Updated the website built from mesos SHA: 8c9184a.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/src_2master_2master_8hpp_source.html -- diff --git a/content/api/latest/c++/src_2master_2master_8hpp_source.html b/content/api/latest/c++/src_2master_2master_8hpp_source.html index 03db6c2..5464323 100644 --- a/content/api/latest/c++/src_2master_2master_8hpp_source.html +++ b/content/api/latest/c++/src_2master_2master_8hpp_source.html @@ -1586,1360 +1586,1365 @@ 1640 const Optionprocess::http::authentication::Principal principal, 1641 ContentType contentType) const; 1642 - 1643 process::Futureprocess::http::Response getTasks( + 1643 process::Futureprocess::http::Response getOperations( 1644 const mesos::master::Call call, 1645 const Optionprocess::http::authentication::Principal principal, 1646 ContentType contentType) const; 1647 - 1648 mesos::master::Response::GetTasks _getTasks( - 1649 const process::OwnedObjectApprover frameworksApprover, - 1650 const process::OwnedObjectApprover tasksApprover) const; - 1651 - 1652 process::Futureprocess::http::Response createVolumes( - 1653 const mesos::master::Call call, - 1654 const Optionprocess::http::authentication::Principal principal, - 1655 ContentType contentType) const; + 1648 process::Futureprocess::http::Response getTasks( + 1649 const mesos::master::Call call, + 1650 const Optionprocess::http::authentication::Principal principal, + 1651 ContentType contentType) const; + 1652 + 1653 mesos::master::Response::GetTasks _getTasks( + 1654 const process::OwnedObjectApprover frameworksApprover, + 1655 const process::OwnedObjectApprover tasksApprover) const; 1656 - 1657 process::Futureprocess::http::Response destroyVolumes( + 1657 process::Futureprocess::http::Response createVolumes( 1658 const mesos::master::Call call, 1659 const Optionprocess::http::authentication::Principal principal, 1660 ContentType contentType) const; 1661 - 1662 process::Futureprocess::http::Response reserveResources( + 1662 process::Futureprocess::http::Response destroyVolumes( 1663 const mesos::master::Call call, 1664 const Optionprocess::http::authentication::Principal principal, 1665 ContentType contentType) const; 1666 - 1667 process::Futureprocess::http::Response unreserveResources( + 1667 process::Futureprocess::http::Response reserveResources( 1668 const mesos::master::Call call, 1669 const Optionprocess::http::authentication::Principal principal, 1670 ContentType contentType) const; 1671 - 1672 process::Futureprocess::http::Response getFrameworks( + 1672 process::Futureprocess::http::Response unreserveResources( 1673 const mesos::master::Call call, 1674 const Optionprocess::http::authentication::Principal principal, 1675 ContentType contentType) const; 1676 - 1677 mesos::master::Response::GetFrameworks _getFrameworks( - 1678 const process::OwnedObjectApprover frameworksApprover) const; - 1679 - 1680 process::Futureprocess::http::Response getExecutors( - 1681 const mesos::master::Call call, - 1682 const Optionprocess::http::authentication::Principal principal, - 1683 ContentType contentType) const; + 1677 process::Futureprocess::http::Response getFrameworks( + 1678 const mesos::master::Call call, + 1679 const Optionprocess::http::authentication::Principal principal, + 1680 ContentType contentType) const; + 1681 + 1682 mesos::master::Response::GetFrameworks _getFrameworks( + 1683 const process::OwnedObjectApprover frameworksApprover) const; 1684 - 1685 mesos::master::Response::GetExecutors _getExecutors( - 1686 const process::OwnedObjectApprover frameworksApprover, - 1687 const process::OwnedObjectApprover executorsApprover) const; - 1688 - 1689 process::Futureprocess::http::Response getState( - 1690 const mesos::master::Call call, - 1691 const Optionprocess::http::authentication::Principal principal, - 1692 ContentType contentType) const; + 1685 process::Futureprocess::http::Response getExecutors( + 1686 const mesos::master::Call call, + 1687 const Optionprocess::http::authentication::Principal principal, + 1688 ContentType contentType) const; + 1689 + 1690 mesos::master::Response::GetExecutors _getExecutors( + 1691 const process::OwnedObjectApprover frameworksApprover, + 1692 const process::OwnedObjectApprover executorsApprover) const; 1693 - 1694 mesos::master::Response::GetState _getState( - 1695 const process::OwnedObjectApprover
[2/8] mesos-site git commit: Updated the website built from mesos SHA: 8c9184a.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/type__utils_8hpp_source.html -- diff --git a/content/api/latest/c++/type__utils_8hpp_source.html b/content/api/latest/c++/type__utils_8hpp_source.html index d82337c..b959268 100644 --- a/content/api/latest/c++/type__utils_8hpp_source.html +++ b/content/api/latest/c++/type__utils_8hpp_source.html @@ -116,764 +116,767 @@ 62bool operator==(const Label left, const Label right); 63bool operator==(const Labels left, const Labels right); 64bool operator==(const MasterInfo left, const MasterInfo right); - 65bool operator==(const OperationStatus left, const OperationStatus right); - 66 - 67bool operator==( - 68 const ResourceProviderInfo left, - 69 const ResourceProviderInfo right); - 70 - 71bool operator==( - 72 const ResourceStatistics left, - 73 const ResourceStatistics right); - 74 - 75bool operator==(const SlaveInfo left, const SlaveInfo right); - 76bool operator==(const Task left, const Task right); - 77bool operator==(const TaskGroupInfo left, const TaskGroupInfo right); - 78bool operator==(const TaskInfo left, const TaskInfo right); - 79bool operator==(const TaskStatus left, const TaskStatus right); - 80bool operator==(const URL left, const URL right); - 81bool operator==(const UUID left, const UUID right); - 82bool operator==(const Volume left, const Volume right); - 83 - 84bool operator!=(const CheckStatusInfo left, const CheckStatusInfo right); - 85bool operator!=(const ExecutorInfo left, const ExecutorInfo right); - 86bool operator!=(const Labels left, const Labels right); - 87bool operator!=(const OperationStatus left, const OperationStatus right); - 88 - 89bool operator!=(const TaskStatus left, const TaskStatus right); + 65bool operator==(const Offer::Operation left, const Offer::Operation right); + 66bool operator==(const OperationStatus left, const OperationStatus right); + 67 + 68bool operator==( + 69 const ResourceProviderInfo left, + 70 const ResourceProviderInfo right); + 71 + 72bool operator==( + 73 const ResourceStatistics left, + 74 const ResourceStatistics right); + 75 + 76bool operator==(const SlaveInfo left, const SlaveInfo right); + 77bool operator==(const Task left, const Task right); + 78bool operator==(const TaskGroupInfo left, const TaskGroupInfo right); + 79bool operator==(const TaskInfo left, const TaskInfo right); + 80bool operator==(const TaskStatus left, const TaskStatus right); + 81bool operator==(const URL left, const URL right); + 82bool operator==(const UUID left, const UUID right); + 83bool operator==(const Volume left, const Volume right); + 84 + 85bool operator!=(const CheckStatusInfo left, const CheckStatusInfo right); + 86bool operator!=(const ExecutorInfo left, const ExecutorInfo right); + 87bool operator!=(const Labels left, const Labels right); + 88bool operator!=(const Offer::Operation left, const Offer::Operation right); + 89bool operator!=(const OperationStatus left, const OperationStatus right); 90 - 91inline bool operator==(const ExecutorID left, const ExecutorID right) - 92{ - 93 return left.value() == right.value(); - 94} - 95 - 96 - 97inline bool operator==(const FrameworkID left, const FrameworkID right) - 98{ - 99 return left.value() == right.value(); - 100} - 101 - 102 - 103inline bool operator==(const FrameworkInfo left, const FrameworkInfo right) - 104{ - 105 return (left.name() == right.name()) (left.user() == right.user()); - 106} - 107 - 108 - 109inline bool operator==(const OfferID left, const OfferID right) - 110{ - 111 return left.value() == right.value(); - 112} - 113 - 114 - 115inline bool operator==(const OperationID left, const OperationID right) - 116{ - 117 return left.value() == right.value(); - 118} - 119 - 120 - 121inline bool operator==( - 122 const ResourceProviderID left, - 123 const ResourceProviderID right) - 124{ - 125 return left.value() == right.value(); - 126} - 127 - 128 - 129inline bool operator==(const SlaveID left, const SlaveID right) - 130{ - 131 return left.value() == right.value(); - 132} - 133 - 134 - 135inline bool operator==(const TaskID left, const TaskID right) - 136{ - 137 return left.value() == right.value(); - 138} - 139 - 140 - 141inline bool operator==(const TimeInfo left, const TimeInfo right) - 142{ - 143 return left.nanoseconds() == right.nanoseconds(); - 144} - 145 - 146 - 147inline bool operator==(const DurationInfo left, const DurationInfo right) - 148{ - 149 return left.nanoseconds() == right.nanoseconds(); - 150} - 151 - 152 - 153inline bool operator==(const ContainerID left, const std::string right) -
[5/8] mesos-site git commit: Updated the website built from mesos SHA: 8c9184a.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/namespacemesos.html -- diff --git a/content/api/latest/c++/namespacemesos.html b/content/api/latest/c++/namespacemesos.html index e6b9180..6347170 100644 --- a/content/api/latest/c++/namespacemesos.html +++ b/content/api/latest/c++/namespacemesos.html @@ -222,6 +222,8 @@ Functions booloperator== (const MasterInfo left, const MasterInfo right) +booloperator== (const Offer::Operation left, const Offer::Operation right) + booloperator== (const OperationStatus left, const OperationStatus right) booloperator== (const ResourceProviderInfo left, const ResourceProviderInfo right) @@ -250,6 +252,8 @@ Functions booloperator!= (const Labels left, const Labels right) +booloperator!= (const Offer::Operation left, const Offer::Operation right) + booloperator!= (const OperationStatus left, const OperationStatus right) booloperator!= (const TaskStatus left, const TaskStatus right) @@ -1483,6 +1487,32 @@ Variables + + + + + + bool mesos::operator!= + ( + const Offer::Operation + left, + + + + + const Offer::Operation + right + + + + ) + + + + + + + @@ -4335,20 +4365,20 @@ templatetypename T - + bool mesos::operator== ( - const Resource::ReservationInfo + const Label left, - const Resource::ReservationInfo + const Label right @@ -4361,20 +4391,20 @@ templatetypename T - + bool mesos::operator== ( - const Label + const Resource::ReservationInfo left, - const Label + const Resource::ReservationInfo right @@ -4439,6 +4469,32 @@ templatetypename T + + + + + + bool mesos::operator== + ( + const Offer::Operation + left, + + + + + const Offer::Operation + right + + + + ) + + + + + + + @@ -4676,6 +4732,9 @@ templatetypename T + + + bool mesos::operator== @@ -4695,6 +4754,11 @@ templatetypename T + + +inline + + http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c9f3e08c/content/api/latest/c++/namespacemesos_1_1v1.html -- diff --git a/content/api/latest/c++/namespacemesos_1_1v1.html b/content/api/latest/c++/namespacemesos_1_1v1.html index 05abdb3..70ac1af 100644 --- a/content/api/latest/c++/namespacemesos_1_1v1.html +++ b/content/api/latest/c++/namespacemesos_1_1v1.html @@ -112,6 +112,8 @@ Functions booloperator== (const MasterInfo left, const MasterInfo right) +booloperator== (const Offer::Operation left, const Offer::Operation right) + booloperator== (const ResourceProviderInfo left, const ResourceProviderInfo right) booloperator== (const ResourceStatistics left, const ResourceStatistics right) @@ -126,6 +128,8 @@ Functions booloperator!= (const Labels left, const Labels right) +booloperator!= (const Offer::Operation left, const Offer::Operation right) + booloperator!= (const TaskStatus left, const TaskStatus right) booloperator== (const ContainerID left, const ContainerID right) @@ -142,6 +146,8 @@ Functions booloperator== (const ResourceProviderID left, const ResourceProviderID right) +booloperator== (const UUID left, const UUID right) + booloperator== (const AgentID left, const AgentID right) booloperator== (const TaskID left, const TaskID right) @@ -187,6 +193,8 @@ Functions booloperator!= (const ResourceProviderInfo left, const ResourceProviderInfo right) +booloperator!= (const UUID left, const UUID right) + booloperator!= (const AgentID left, const AgentID right) booloperator!= (const TimeInfo left, const TimeInfo right) @@ -401,6 +409,32 @@ Functions + + + + + + bool mesos::v1::operator!= + ( + const Offer::Operation + left, + + + + + const Offer::Operation + right + + + + ) + + + + + + + @@ -665,6 +699,40 @@ Functions + + + + + + + + + bool mesos::v1::operator!= + ( + const UUID + left, + + + + + const UUID + right + +
mesos git commit: Fixed build with CSI enabled.
Repository: mesos Updated Branches: refs/heads/master 8c9184a03 -> 1d0e7e7a4 Fixed build with CSI enabled. This patch adds two required includes to CSI-related tests compiled only when GRPC is enabled in an autotools build. The compilation of these files was broken when we cleaned up `src/tests/flags.hpp` in `f6eb3933798` since their includes were not exhaustive. Review: https://reviews.apache.org/r/65710/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1d0e7e7a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1d0e7e7a Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1d0e7e7a Branch: refs/heads/master Commit: 1d0e7e7a49a4bafede1e29a27fb9f76179dc48f8 Parents: 8c9184a Author: Benjamin BannierAuthored: Mon Feb 19 13:45:15 2018 -0800 Committer: James Peach Committed: Mon Feb 19 13:45:15 2018 -0800 -- src/tests/agent_resource_provider_config_api_tests.cpp | 2 ++ src/tests/storage_local_resource_provider_tests.cpp| 2 ++ 2 files changed, 4 insertions(+) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/1d0e7e7a/src/tests/agent_resource_provider_config_api_tests.cpp -- diff --git a/src/tests/agent_resource_provider_config_api_tests.cpp b/src/tests/agent_resource_provider_config_api_tests.cpp index 046350d..bd5312b 100644 --- a/src/tests/agent_resource_provider_config_api_tests.cpp +++ b/src/tests/agent_resource_provider_config_api_tests.cpp @@ -24,6 +24,8 @@ #include #include +#include + #include "common/http.hpp" #include "csi/paths.hpp" http://git-wip-us.apache.org/repos/asf/mesos/blob/1d0e7e7a/src/tests/storage_local_resource_provider_tests.cpp -- diff --git a/src/tests/storage_local_resource_provider_tests.cpp b/src/tests/storage_local_resource_provider_tests.cpp index 5013067..c2fcbf3 100644 --- a/src/tests/storage_local_resource_provider_tests.cpp +++ b/src/tests/storage_local_resource_provider_tests.cpp @@ -22,6 +22,8 @@ #include #include +#include + #include "csi/paths.hpp" #include "csi/state.hpp"
mesos-site git commit: Updated the website built from mesos SHA: 1d0e7e7.
Repository: mesos-site Updated Branches: refs/heads/asf-site c9f3e08c5 -> e926f51dd Updated the website built from mesos SHA: 1d0e7e7. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/e926f51d Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/e926f51d Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/e926f51d Branch: refs/heads/asf-site Commit: e926f51dde09a4eead486e6435294f6852eb98b8 Parents: c9f3e08 Author: jenkinsAuthored: Mon Feb 19 22:12:19 2018 + Committer: jenkins Committed: Mon Feb 19 22:12:19 2018 + -- content/blog/feed.xml | 2 +- content/blog/performance-working-group-progress-report/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/mesos-site/blob/e926f51d/content/blog/feed.xml -- diff --git a/content/blog/feed.xml b/content/blog/feed.xml index 60616a9..1a3b612 100644 --- a/content/blog/feed.xml +++ b/content/blog/feed.xml @@ -295,7 +295,7 @@ To learn more about CSI work in Mesos, you can dig into the design document /ul -pIf you are a user and would like to suggest some areas for performance improvement, please let us know by emailing a href=#109;#97;#105;#x6c;#x74;#111;#x3a;#x64;#101;#118;#64;#97;#x70;#x61;#99;#104;#x65;#x2e;#109;#x65;#115;#x6f;#115;#46;#x6f;#x72;#103;#x64;#x65;#118;#64;#x61;#112;#97;#99;#104;#101;#x2e;#x6d;#x65;#x73;#x6f;#x73;#x2e;#111;#114;#x67;/a./p +pIf you are a user and would like to suggest some areas for performance improvement, please let us know by emailing a href=#109;#97;#x69;#x6c;#x74;#x6f;#x3a;#x64;#101;#x76;#x40;#97;#112;#x61;#99;#104;#101;#46;#109;#101;#x73;#x6f;#x73;#46;#111;#114;#103;#100;#x65;#118;#x40;#x61;#112;#97;#99;#x68;#x65;#x2e;#109;#101;#115;#x6f;#115;#x2e;#111;#114;#x67;/a./p http://git-wip-us.apache.org/repos/asf/mesos-site/blob/e926f51d/content/blog/performance-working-group-progress-report/index.html -- diff --git a/content/blog/performance-working-group-progress-report/index.html b/content/blog/performance-working-group-progress-report/index.html index f82a927..fb21d1e 100644 --- a/content/blog/performance-working-group-progress-report/index.html +++ b/content/blog/performance-working-group-progress-report/index.html @@ -248,7 +248,7 @@ -If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing . +If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing .