mesos git commit: Updated the websitebot to not fail if there are no changes to commit.
Repository: mesos Updated Branches: refs/heads/master afb175de7 -> 297b7042a Updated the websitebot to not fail if there are no changes to commit. The script now runs git commit and push commands only when necessary. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/297b7042 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/297b7042 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/297b7042 Branch: refs/heads/master Commit: 297b7042a7ef65aafca40832b5f8736e27e26ed2 Parents: afb175d Author: Vinod KoneAuthored: Fri Sep 8 14:40:03 2017 -0700 Committer: Vinod Kone Committed: Fri Sep 8 16:19:31 2017 -0700 -- support/jenkins/websitebot.sh | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/297b7042/support/jenkins/websitebot.sh -- diff --git a/support/jenkins/websitebot.sh b/support/jenkins/websitebot.sh index dccbbc3..ac398cc 100755 --- a/support/jenkins/websitebot.sh +++ b/support/jenkins/websitebot.sh @@ -45,7 +45,12 @@ popd # $MESOS_DIR pushd "$MESOS_SITE_DIR" git add . -git commit -m "Updated the website built from mesos SHA: $MESOS_HEAD_SHA." -git push origin HEAD:refs/heads/asf-site + +if ! git diff --cached --quiet; then + git commit -m "Updated the website built from mesos SHA: $MESOS_HEAD_SHA." + git push origin HEAD:refs/heads/asf-site +else + echo "No changes to website detected" +fi popd # $MESOS_SITE_DIR
mesos-site git commit: Updated the website built from mesos SHA: afb175d.
Repository: mesos-site Updated Branches: refs/heads/asf-site ca94c348b -> 6dfbd8526 Updated the website built from mesos SHA: afb175d. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/6dfbd852 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/6dfbd852 Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/6dfbd852 Branch: refs/heads/asf-site Commit: 6dfbd85264b58fa1044233d7ad9cae575fa79d7e Parents: ca94c34 Author: jenkinsAuthored: Fri Sep 8 23:14:42 2017 + Committer: jenkins Committed: Fri Sep 8 23:14:42 2017 + -- content/documentation/authentication/index.html| 6 ++ content/documentation/latest/authentication/index.html | 6 ++ 2 files changed, 12 insertions(+) -- http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6dfbd852/content/documentation/authentication/index.html -- diff --git a/content/documentation/authentication/index.html b/content/documentation/authentication/index.html index c8aa9c9..f188f44 100644 --- a/content/documentation/authentication/index.html +++ b/content/documentation/authentication/index.html @@ -272,6 +272,12 @@ requests to the agent will authenticate successfully. +Note that HTTP executors make use of the agent operator API in order to make +nested container calls. This means that authentication of the v1 agent operator +API should not be enabled (via --authenticate_http_readwrite) when HTTP +executor authentication is disabled, or HTTP executors will not be able to +function correctly. + Framework If framework authentication is enabled, each framework must be configured to http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6dfbd852/content/documentation/latest/authentication/index.html -- diff --git a/content/documentation/latest/authentication/index.html b/content/documentation/latest/authentication/index.html index 93e8a1a..3d93186 100644 --- a/content/documentation/latest/authentication/index.html +++ b/content/documentation/latest/authentication/index.html @@ -272,6 +272,12 @@ requests to the agent will authenticate successfully. +Note that HTTP executors make use of the agent operator API in order to make +nested container calls. This means that authentication of the v1 agent operator +API should not be enabled (via --authenticate_http_readwrite) when HTTP +executor authentication is disabled, or HTTP executors will not be able to +function correctly. + Framework If framework authentication is enabled, each framework must be configured to
mesos git commit: Updated the HTTP executor authentication docs.
Repository: mesos Updated Branches: refs/heads/master a675604d7 -> afb175de7 Updated the HTTP executor authentication docs. Review: https://reviews.apache.org/r/62196/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/afb175de Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/afb175de Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/afb175de Branch: refs/heads/master Commit: afb175de76ac8df167cb759f2d2a4d4778eceb85 Parents: a675604 Author: Greg MannAuthored: Fri Sep 8 15:52:53 2017 -0700 Committer: Greg Mann Committed: Fri Sep 8 15:53:00 2017 -0700 -- docs/authentication.md | 6 ++ 1 file changed, 6 insertions(+) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/afb175de/docs/authentication.md -- diff --git a/docs/authentication.md b/docs/authentication.md index a96de6e..0abf069 100644 --- a/docs/authentication.md +++ b/docs/authentication.md @@ -163,6 +163,12 @@ following procedure should be followed: executors now have authentication tokens and support authentication, their requests to the agent will authenticate successfully. +Note that HTTP executors make use of the agent operator API in order to make +nested container calls. This means that authentication of the v1 agent operator +API should not be enabled (via `--authenticate_http_readwrite`) when HTTP +executor authentication is disabled, or HTTP executors will not be able to +function correctly. + ### Framework If framework authentication is enabled, each framework must be configured to
[1/2] mesos-site git commit: Updated the website built from mesos SHA: a675604.
Repository: mesos-site Updated Branches: refs/heads/asf-site 311fa8319 -> ca94c348b http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ca94c348/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml index 5933998..904fbfb 100644 --- a/content/sitemap.xml +++ b/content/sitemap.xml @@ -2,17006 +2,17006 @@ http://www.sitemaps.org/schemas/sitemap/0.9;> http://mesos.apache.org/api/latest/java/overview-tree.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/help-doc.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/constant-values.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/allclasses-frame.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/deprecated-list.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/allclasses-noframe.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TaskState.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RateLimit.Builder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CheckInfo.Http.Builder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.SlaveInfo.CapabilityOrBuilder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Volume.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.LinuxInfo.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Type.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ResourceProviderInfo.Builder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ContainerInfoOrBuilder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.ParameterOrBuilder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Operation.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.Throttling.Statistics.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Flag.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TimeInfo.Builder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.RLimitInfo.RLimit.Builder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CgroupInfo.Blkio.CFQ.StatisticsOrBuilder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.TTYInfoOrBuilder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Ports.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.CommandInfo.URI.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.Offer.Operation.DestroyVolume.Builder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.UdpStatistics.Builder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00 http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.FlagOrBuilder.html -2017-09-07T00:00:00+00:00 +2017-09-08T00:00:00+00:00
[2/2] mesos-site git commit: Updated the website built from mesos SHA: a675604.
Updated the website built from mesos SHA: a675604. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/ca94c348 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/ca94c348 Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/ca94c348 Branch: refs/heads/asf-site Commit: ca94c348be64338e91f4ea4d6bc16116d7e1589e Parents: 311fa83 Author: jenkinsAuthored: Fri Sep 8 16:51:47 2017 + Committer: jenkins Committed: Fri Sep 8 16:51:47 2017 + -- content/sitemap.xml | 8502 +++--- 1 file changed, 4251 insertions(+), 4251 deletions(-) --
mesos git commit: Added a comment about master sending a checkpointed resources message.
Repository: mesos Updated Branches: refs/heads/master e5094c43f -> a675604d7 Added a comment about master sending a checkpointed resources message. Review: https://reviews.apache.org/r/62147 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a675604d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a675604d Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a675604d Branch: refs/heads/master Commit: a675604d7b1ff1dcdcbb06a539a226e872f6811c Parents: e5094c4 Author: Jie YuAuthored: Wed Sep 6 21:09:03 2017 -0700 Committer: Jie Yu Committed: Fri Sep 8 09:32:09 2017 -0700 -- src/master/master.cpp | 9 + 1 file changed, 9 insertions(+) -- http://git-wip-us.apache.org/repos/asf/mesos/blob/a675604d/src/master/master.cpp -- diff --git a/src/master/master.cpp b/src/master/master.cpp index 53ee87a..6d84a26 100644 --- a/src/master/master.cpp +++ b/src/master/master.cpp @@ -6608,6 +6608,15 @@ void Master::___reregisterSlave( } } + // Send checkpointed resources to the agent. This is important for + // the cases where the master didn't fail over. In that case, the + // master might have already applied an operation that the agent + // didn't see (e.g., due to a breaking connection). This message + // will sync the state between the master and the agent about + // checkpointed resources. + // + // TODO(jieyu): This message is not necessary for the case where the + // master fails over. Consider moving this to `reconcileKnownSlave`. CheckpointResourcesMessage message; message.mutable_resources()->CopyFrom(slave->checkpointedResources);