Repository: mesos
Updated Branches:
refs/heads/master 77d507578 -> 734bed023
Added python-mesos-http scheduler api client to docs.
I propose the following scheduler python lib as external library
to use Mesos HTTP API.
This closes #217
Project: http://git-wip-us.apache.org/repos/asf/mesos/r
Repository: mesos-site
Updated Branches:
refs/heads/master [created] c2997216b
Added README.
Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/c2997216
Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/c
Added unit tests to verify offers are suppressed based on registration.
Review: https://reviews.apache.org/r/57818/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5dd1dd3b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/t
Repository: mesos
Updated Branches:
refs/heads/master 588bb0b9f -> 5dd1dd3b0
Added `suppressed_roles` field in `SUBSCRIBE`.
This field is a subset of roles the framework registered as for which
the framework does not want any resources offere to.
Review: https://reviews.apache.org/r/57815/
Offers not sent for suppressed roles as indicated in `SUBSCRIBE`.
If the `SUBSCRIBE` indicates a subset of roles to be suppressed during
framework (re)registration, the allocator does not offer resources for
those roles to such frameworks. Note that this functionality is added
for `v1::SUBSCRIBE`
Repository: mesos
Updated Branches:
refs/heads/master cb4dc7643 -> 588bb0b9f
Attach latest symlink when executor is registered.
This will assist framework developers in making features that need
to access the latest sandbox when hitting various operator API
endpoints.
Review: https://reviews.
Repository: mesos
Updated Branches:
refs/heads/master 1afc364c0 -> f6c2fdb65
Added test for agent ping timeout during agent recovery.
This patch adds a new test,
`SlaveRecoveryTest.PingTimeoutDuringRecovery`, which verifies
that the agent will reply to pings from the master while it
is perform
Added a test to verify executor driver message dropping behavior.
This patch adds a test which verifies that the executor driver will drop
RunTaskMessages when it is not connected to the agent.
Review: https://reviews.apache.org/r/59583/
Project: http://git-wip-us.apache.org/repos/asf/mesos/rep
Added a test to verify the agent flag 'executor_reregistration_timeout'.
This patch adds a test to verify the correct behavior of
the agent flag 'executor_reregistration_timeout.
Review: https://reviews.apache.org/r/59545/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http:
Repository: mesos
Updated Branches:
refs/heads/master 80f13bfd0 -> c61e592d7
Resolved a TODO that depended on a newer version of gtest.
Review: https://reviews.apache.org/r/59581/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/
Repository: mesos
Updated Branches:
refs/heads/master 2ca43f5af -> efb774cd9
Made the executor driver drop some messages when not connected.
This patch updates the executor driver to drop RunTaskMessages,
FrameworkMessages, and StatusUpdateAcknowledgements when it is
not connected to the agent
Repository: mesos
Updated Branches:
refs/heads/master 74c61ceba -> 2ca43f5af
Introduced executor reconnect retries on the agent.
PID-based v0 executors using Mesos libraries >= 1.1.2 always re-link
with the agent upon receiving the reconnect message. This avoids the
executor replying on a half
,97 @@
+---
+layout: post
+title: Apache Mesos 1.0.2 Released
+permalink: /blog/mesos-1-0-2-released/
+published: true
+post_author:
+ display_name: Vinod Kone
+ twitter: vinodkone
+tags: Release
+---
+
+The latest Mesos release, 1.0.2, is now available for
[download](http://mesos.apache.org/downlo
Repository: mesos
Updated Branches:
refs/heads/master b45603000 -> c98f96522
Fixed a fd-related build on Windows.
Review: https://reviews.apache.org/r/59248
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c98f9652
Tree: h
Repository: mesos
Updated Branches:
refs/heads/master 2108836fc -> d2afca0b7
Add new MUG for Tokyo.
I just add the new Tokyo in Japan MUG in
communities by Shingo.Kitayama.
This closes #212
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos
Repository: mesos
Updated Tags: refs/tags/1.0.4 [created] 4154f66d6
Author: vinodkone
Date: Thu May 4 19:29:40 2017
New Revision: 19466
Log:
Adding mesos-1.0.4.
Added:
release/mesos/1.0.4/
release/mesos/1.0.4/mesos-1.0.4.tar.gz (with props)
release/mesos/1.0.4/mesos-1.0.4.tar.gz.asc
release/mesos/1.0.4/mesos-1.0.4.tar.gz.md5
Added: release
Exposed full unreserved resources in /slaves endpoint on master.
The JSON key for this information is "unreserved_resources_full".
Review: https://reviews.apache.org/r/58940
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d0
Repository: mesos
Updated Branches:
refs/heads/master e8fefeab7 -> f158e03bb
Exposed full unreserved resources in /state endpoint on agent.
The JSON key for this information is "unreserved_resources_full".
Review: https://reviews.apache.org/r/58941
Project: http://git-wip-us.apache.org/repo
Author: vinodkone
Date: Tue May 2 19:02:41 2017
New Revision: 19444
Log:
Adding mesos-1.0.4-rc2.
Added:
dev/mesos/1.0.4-rc2/
dev/mesos/1.0.4-rc2/mesos-1.0.4.tar.gz (with props)
dev/mesos/1.0.4-rc2/mesos-1.0.4.tar.gz.asc
dev/mesos/1.0.4-rc2/mesos-1.0.4.tar.gz.md5
Added: dev
Repository: mesos
Updated Tags: refs/tags/1.0.4-rc2 [created] 4154f66d6
Repository: mesos
Updated Branches:
refs/heads/master c70215029 -> fd163c20c
Fixed a link in the upgrade documentation.
This patch fixes a broken link in the upgrade documentation.
Review: https://reviews.apache.org/r/58810/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit:
Repository: mesos
Updated Branches:
refs/heads/master 87b793dbb -> 6670c0709
Fixed typo in slave.cpp.
s/found mount/find mount/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6670c070
Tree: http://git-wip-us.apache.org/r
Repository: mesos
Updated Branches:
refs/heads/master 8990ebbf3 -> c2b91a92e
Print failure reason when socket accept failed.
Review: https://reviews.apache.org/r/58557/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c2b9
Repository: mesos
Updated Branches:
refs/heads/master e121ef6fe -> 8990ebbf3
Print corresponding address when socket shutdown.
Print corresponding address when socket shutdown.
Default just print socket 'fd',it's not convenient
to find corresponding address.
Project: http://git-wip-us.apache
Updated the high availability doc about ZK session timeout.
Review: https://reviews.apache.org/r/58506/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/97b2507a
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/97b2507a
Repository: mesos
Updated Branches:
refs/heads/master d1c6173ab -> 97b2507aa
Passed `--zk_session_timeout` to ZK master contender and detector.
Currently `ZooKeeperMasterContender` and `ZooKeeperMasterDetector` use
hardcoded session timeouts and do not respect `--zk_session_timeout`
option. Th
Added executor authentication and authorization to the CHANGELOG.
This patch adds MESOS-6365 to the CHANGELOG. This ticket
corresponds to the addition of authentication and authorization
for HTTP executors.
Review: https://reviews.apache.org/r/58626/
Project: http://git-wip-us.apache.org/repos/
Repository: mesos
Updated Branches:
refs/heads/master 16697c1a8 -> 7a98a0139
Updated the upgrade documentation for executor authentication.
This patch updates the upgrade documentation to inform users
that enabling the `--authenticate_http_executors` and
`--executor_secret_key` agent flags aft
Repository: mesos
Updated Branches:
refs/heads/master 2f4c71a5e -> 16697c1a8
Fixed a typo in zookeeper_test_server.cpp.
s/his/this/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/16697c1a
Tree: http://git-wip-us.apache.o
Repository: mesos
Updated Branches:
refs/heads/master 00569bfcf -> 2f4c71a5e
Updated code and docs to use gender neutral pronoun.
Used "singular they" based on Chromium's gender neutral code guideline.
Review: https://reviews.apache.org/r/58683
Project: http://git-wip-us.apache.org/repos/as
Repository: mesos
Updated Branches:
refs/heads/master 3f5b2c90c -> 02d8426a3
Added test for failed HTTP executor authentication.
This patch adds a new test, `SlaveTest.HTTPExecutorBadAuthentication`,
which verifies that an HTTP executor cannot subscribe or launch nested
containers when it prov
Added documentation for executor authorization.
This patch adds documentation regarding the implicit authorization
of HTTP executors.
Review: https://reviews.apache.org/r/58625/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commi
Enabled authorization in default executor check tests.
This patch enables authorization in the check and health check
tests which use the default executor. Simple permissive ACLs are
set, forcing the local authorizer to be loaded which allows us
to test the implicit executor authorization code for
Added a new agent authorization test which runs a task group.
This patch adds a new test,
`SlaveAuthorizerTest.AuthorizeRunTaskGroup`, which
verifies that task groups can be launched when
executor authentication is required and the local
authorizer is loaded.
Review: https://reviews.apache.org/r/
Allowed the local authorizer to accept subjects with no value.
This patch updates checks in the local authorizer to allow subjects
which specify `claims` instead of a `value`.
Review: https://reviews.apache.org/r/58252/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://g
Added tests for failed executor authorization.
This patch adds new tests to verify that HTTP executors cannot
subscribe or launch nested containers when HTTP executor
authentication is enabled, authorization is enabled, and they
do not provide a valid executor authentication token
Review: https:/
Added implicit executor authorization to the agent operator API.
This patch updates the agent handlers for the LAUNCH_, WAIT_,
and KILL_NESTED_CONTAINER calls of the operator API to set the
`container_id` field within the authorization object,
facilitating implicit executor authorization.
Review:
Added a ContainerID to 'ObjectApprover::Object'.
This patch adds a new member, `container_id` to the
`ObjectApprover::Object` to facilitate implicit executor
authorization.
Review: https://reviews.apache.org/r/58253/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-
Added implicit authorization to the agent executor API.
This patch updates the agent handler for the executor API to
verify the FrameworkID and ExecutorID contained within the
executor's `Principal`, if present. This effectively performs
implicit authorization of executor calls.
Review: https://r
Repository: mesos
Updated Branches:
refs/heads/master ab6afe86d -> 3f5b2c90c
Changed 'Principal.claims' to a hashmap.
This patch changes the `claims` member of the authentication
`Principal` struct from a `std::map` to a `hashmap`, so that
we can make use of the `contains()` helper during auth
Repository: mesos
Updated Branches:
refs/heads/master 2f90b70b5 -> cd927874e
Fixed a potential deadlock in the 'CombinedAuthenticator'.
This patch fixes a bug in `CombinedAuthenticator.authenticate()`.
Previously, the function registered a callback on the results of
`Authenticator::authenticat
Repository: mesos
Updated Branches:
refs/heads/master f253811c8 -> 2f90b70b5
Added a new overload of 'StartSlave'.
This patch adds a new overload of the `StartSlave` test helper
which accepts just a `MasterDetector`, an ID, and flags.
Review: https://reviews.apache.org/r/58321/
Project: htt
Added an upgrade test for executor authentication.
This patch adds a new test,
`SlaveTest.RestartSlaveRequireExecutorAuthentication`, which
ensures that an executor which is launched with the
'--executor_secret_key' flag set but the
'--authenticate_http_executors' flag not set will be able to
subs
Repository: mesos
Updated Branches:
refs/heads/master b939f185f -> f253811c8
Added a TODO for implicit scheduler authorization.
This patch adds a TODO to the master's HTTP scheduler API related
to MESOS-7399.
Review: https://reviews.apache.org/r/58507/
Project: http://git-wip-us.apache.org/
Author: vinodkone
Date: Mon Apr 17 22:42:55 2017
New Revision: 19183
Log:
Adding mesos-1.0.4-rc1.
Added:
dev/mesos/1.0.4-rc1/
dev/mesos/1.0.4-rc1/mesos-1.0.4.tar.gz (with props)
dev/mesos/1.0.4-rc1/mesos-1.0.4.tar.gz.asc
dev/mesos/1.0.4-rc1/mesos-1.0.4.tar.gz.md5
Added: dev
Repository: mesos
Updated Tags: refs/tags/1.0.4-rc1 [created] 71e41f166
Repository: mesos
Updated Branches:
refs/heads/1.0.x 84118f177 -> 71e41f166
Updated Mesos version to 1.0.4.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/71e41f16
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7
Updated check tests to authenticate with agent operator API.
This patch updates the check tests to enable authentication
on the agent operator API when Mesos has been built with SSL.
Review: https://reviews.apache.org/r/58374/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: h
Repository: mesos
Updated Branches:
refs/heads/master 8bbe70041 -> 6cf2536c2
Updated 'HealthChecker' to authenticate with the agent.
This patch updates the `HealthChecker` to permit initialization
with an authorization header, which it will provide to the agent
operator API for authentication
Updated default executor to pass authorization header to checkers.
This patch updates the default executor to pass the executor's
authorization header to the `Checker` and `HealthChecker`
libraries when an authentication token is present in the
environment.
Review: https://reviews.apache.org/r/58
Updated 'Checker' to authenticate with agent operator API.
This patch updates the `Checker` to permit initialization with
an authorization header, which it will provide to the agent
operator API for authentication when present.
Review: https://reviews.apache.org/r/58373/
Project: http://git-wip
Updated a health checker test to enable executor authentication.
This patch updates the test
`HealthCheckTest.DefaultExecutorCommandHealthCheck` to
enable authentication on the agent operator API when
Mesos has been built with SSL.
Review: https://reviews.apache.org/r/58370/
Project: http://git
Updated tests to set '--executor_secret_key' as a path.
This patch updates the test code to generate a secret key file
and set the agent '--executor_secret_key' flag with its path.
Review: https://reviews.apache.org/r/58328/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: htt
Repository: mesos
Updated Branches:
refs/heads/master f73f29bd3 -> 8bbe70041
Changed '--executor_secret_key' agent flag to accept a path.
This patch changes the agent flag '--executor_secret_key' to accept
a path, so that the secret will not be leaked in logs.
Review: https://reviews.apache.o
Repository: mesos
Updated Branches:
refs/heads/1.0.x 17ac0240a -> f5721b520
Added MESOS-6606 and MESOS-7008 to CHANGELOG for 1.0.4.
Also removed MESOS-7008 from 1.0.3 CHANGELOG which was incorrect.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.or
Repository: mesos
Updated Branches:
refs/heads/master ad1323b03 -> 301347ce9
Added MESOS-6606 and MESOS-7008 to CHANGELOG for 1.0.4.
Also removed MESOS-7008 from 1.0.3 CHANGELOG which was incorrect.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.o
Repository: mesos
Updated Branches:
refs/heads/master 764fa2cbe -> 5d77c5bcb
Fixed the ordering of the stream operator overload for RLimitInfo.
This patch moves the declaration of the `operator<<` overload
for the `RLimitInfo` protobuf message to be consistent with the
ordering of its definiti
Added executor authentication to the docs.
Review: https://reviews.apache.org/r/57667/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7dd3b6d1
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7dd3b6d1
Diff: http://git
Updated documentation for multiple HTTP authenticators.
Review: https://reviews.apache.org/r/57663/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/764fa2cb
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/764fa2cb
Dif
Added further tests for executor secret generation.
This patch adds two further tests for executor secret
generation, `SlaveTest.RunTaskGroupReferenceTypeSecret`
and `SlaveTest.RunTaskGroupFailedSecretAfterShutdown`.
Review: https://reviews.apache.org/r/57925/
Project: http://git-wip-us.apache.
Repository: mesos
Updated Branches:
refs/heads/master b92a46f06 -> 764fa2cbe
Added 'shutdownExecutor' methods to the mock agent.
This patch adds both mocked and unmocked `shutdownExecutor` methods
to the mock agent to facilitate testing of failure scenarios related
to executor secret generatio
Added a test for the 'CombinedAuthenticator'.
This patch adds a unit test to verify the functionality of
the `CombinedAuthenticator`. The new test is called
`CombinedAuthenticatorTest.MultipleAuthenticators`.
Review: https://reviews.apache.org/r/56475/
Project: http://git-wip-us.apache.org/repo
Repository: mesos
Updated Branches:
refs/heads/master 306e379be -> a68e1f28d
Added the 'CombinedAuthenticator'.
This patch adds a new default authenticator, the
`CombinedAuthenticator`, which can load multiple authenticators.
It calls installed authenticators serially, returning the first
succ
Enabled loading multiple HTTP authenticators in Mesos.
This patch updates the Mesos code to allow master and agent
to load multiple HTTP authenticator modules.
Review: https://reviews.apache.org/r/56476/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache
Repository: mesos
Updated Branches:
refs/heads/master fa7f4090a -> cd40c419a
Sorted enum values in `authorizer.proto` by numerical order.
Aliasing is allowed in `org.apache.mesos.authorization.Actions`, so the
values have to be kept in numerical order in order to prevent accidental
aliasing.
Repository: mesos
Updated Branches:
refs/heads/master f37c51dfb -> a52dfcb82
Added a missing header to fix 'make distcheck'.
process/jwt.hpp was missing.
Review: https://reviews.apache.org/r/57562/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.o
Added support for JSON Web Tokens.
JSON Web Tokens can be used to create claim-based access tokens and is
typically used for HTTP authentication.
This implementation is intended for internal use, e.g. Mesos is supposed
to only parse tokens that it also created. It doesn't fully comply with
RFC 751
Implemented a JWT secret generator.
This can be used to create a 'Secret' from a 'Principal'.
The resulting secret will provide a JWT.
Review: https://reviews.apache.org/r/56754/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/comm
Implemented the JWT authenticator.
This HTTP authenticator extracts a JWT from the requests' authorization
header using the 'Bearer' schema and validates it against a secret using
HMAC SHA256. The 'sub' claim of the JWT is the extracted principal, all
other claims will be additional labels of the
Repository: mesos
Updated Branches:
refs/heads/master ec319931c -> f37c51dfb
Added a URL-safe base64 implementation.
Base64 has many variants that use different alphabets for encoding.
"Base 64 Encoding with URL and Filename Safe Alphabet" is a variant
described in RFC 4648. This variant is us
Added a HMAC SHA256 generator.
HMAC SHA256 can be used to create or verify message signatures.
Review: https://reviews.apache.org/r/5/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f1d0a1c2
Tree: http://git-wip-us.apac
Added the SecretGenerator module interface.
This interface will be used by agents to create credentials for the
default executor.
Review: https://reviews.apache.org/r/56757/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/68
Repository: mesos
Updated Branches:
refs/heads/master 626fcde91 -> ff4bdbbe8
Clarified a comment for 'Principal' in libprocess.
This patch fixes a comment to correctly assert that at least
one of the two members of the `Principal` struct _must_ be set.
Review: https://reviews.apache.org/r/574
Updated default executor tests to exclusively use v1 protos.
Now all the tests in this file use v1 protos.
Review: https://reviews.apache.org/r/57058
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f38a3f18
Tree: http://git-
Repository: mesos
Updated Branches:
refs/heads/master 623e46791 -> 499173d39
Updated default executor tests.
Reorganized so that objects are defined closer to their usage.
Review: https://reviews.apache.org/r/57059
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://gi
Support 'v1::createCallAccept()' helper with multi operations.
Multiple offer operations should be supported for 'Accept' call.
Review: https://reviews.apache.org/r/57185/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/93ea
Repository: mesos
Updated Branches:
refs/heads/master 072638d25 -> 0a9bfe193
Fixed bugs in tests/mesos.hpp helpers.
Segfault may occur on two function with v1 scenario:
1. createPersistentVolume().
2. createDiskResource().
These are due to the use of common 'Resources::parse()'. This patch
fix
Added unit test for persistent volume using default executor.
This unit test verifies that the task group launched in the default
executor can access the persistent volume on the executor level by
using 'volume/sandbox_path' isolator.
The test is parameterized as the following three cases:
1. pos
Updated master validation code to use the 'Principal' type.
This patch updates master validation code to
make use of the `Principal` type instead of an
`Option principal`.
Review: https://reviews.apache.org/r/56901/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-w
Updated master handlers to use the 'Principal' type.
This patch updates the HTTP endpoint handlers in the
master process to accept the `Principal` type instead
of an `Option& principal`.
Review: https://reviews.apache.org/r/56813/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commi
Updated agent handlers to use the 'Principal' type.
This patch updates the HTTP endpoint handlers in the
agent process to accept the `Principal` type instead
of an `Option& principal`.
Review: https://reviews.apache.org/r/56812/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit:
Updated libprocess tests to use the 'Principal' type.
This patch updates the HTTP-related libprocess
tests to use authenticated handlers which accept
the `Principal` type instead of an
`Option principal`.
Review: https://reviews.apache.org/r/56624/
Project: http://git-wip-us.apache.org/repos/as
Repository: mesos
Updated Branches:
refs/heads/master 5ac6e1563 -> 072638d25
Implemented the 'Principal' type in libprocess.
This patch adds a new struct, `Principal`, to libprocess
to represent an authenticated entity in the system.
The new type contains a string `value` and a map containing
Added a new libprocess test for invalid principals.
This patch adds `HttpAuthenticationTest.InvalidPrincipal` to
libprocess to verify that requests return a 500 status code
when the authenticator fails to return a valid principal.
Review: https://reviews.apache.org/r/57298/
Project: http://git-
Added default parameter value to master validation function.
The master's validation function for RESERVE operations previously
did not set a default parameter value for its final optional
parameter, requiring callsites to explicitly specify `None()`. This
patch adds the default value.
Review: ht
http://git-wip-us.apache.org/repos/asf/mesos/blob/da47646e/src/master/weights_handler.cpp
--
diff --git a/src/master/weights_handler.cpp b/src/master/weights_handler.cpp
index d8047f2..453bf37 100644
--- a/src/master/weights_handle
Updated 'Files' handlers to use the 'Principal' type.
This patch updates the HTTP endpoint handlers in the
Mesos `Files` process to accept the `Principal` type
instead of an `Option& principal`.
Review: https://reviews.apache.org/r/56619/
Project: http://git-wip-us.apache.org/repos/asf/mesos/re
Updated libprocess handlers to use the 'Principal' type.
This patch updates the HTTP endpoint handlers in libprocess
to make use of the `Principal` type instead of an
`Option& principal`.
Review: https://reviews.apache.org/r/56617/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Comm
Fixed a bug in master and agent handler authorization logic.
This patch fixes a bug where endpoint handlers would not
correctly handle the case in which authorization is enabled
when authentication is disabled. In this case, the handlers
would send a default-constructed `authorization::Subject` to
Updated Mesos tests to use the 'Principal' type.
This patch updates the Mesos tests to use authenticated
handlers which accept the `Principal` type instead of an
`Option principal`.
Review: https://reviews.apache.org/r/56621/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: ht
Updated common Mesos code to use the 'Principal' type.
This patch updates common Mesos HTTP-related helpers,
as well as the `authorization::Subject` protobuf
message, to make use of the `Principal` type instead
of an `Option principal`.
Review: https://reviews.apache.org/r/56618/
Project: http:
Removed unnecessary 'using' statement in master HTTP code.
`MetricsProcess` was previously declared in 'src/master/http.cpp',
but it is not currently used in that file. This patch removes the
declaration.
Review: https://reviews.apache.org/r/57153/
Project: http://git-wip-us.apache.org/repos/as
Repository: mesos
Updated Branches:
refs/heads/master 0d717e08e -> 6e57f67af
Clarified naming rules in C++ style guide.
This patch clarifies the differences in naming rules between
Mesos application code and the libprocess/stout libraries. It
also updates Wikipedia links to point to more instr
Repository: mesos
Updated Branches:
refs/heads/master d8b88e7f6 -> e7f17037b
Minor fixes to operator API doc.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e7f17037
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree
Repository: mesos
Updated Branches:
refs/heads/1.2.x 1230ba2bb -> 5b810aaeb
Documented all the API calls for Operator HTTP API.
Review: https://reviews.apache.org/r/50974/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5
Repository: mesos
Updated Branches:
refs/heads/master 0725e1bdb -> 788c7dcec
Documented all the API calls for Operator HTTP API.
Review: https://reviews.apache.org/r/50974/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/
Removed all instances of '.Times(1)' from Mesos tests.
Using `.Times(1)` with `EXPECT_CALL` is redundant, as this
is implied by default. This patch removes all such remaining
occurrences from the Mesos tests.
Review: https://reviews.apache.org/r/56187/
Project: http://git-wip-us.apache.org/repo
Removed all instances of '.Times(1)' from libprocess tests.
Using `.Times(1)` with `EXPECT_CALL` is redundant, as this
is implied by default. This patch removes all such remaining
occurrences from the libprocess tests.
Review: https://reviews.apache.org/r/56188/
Project: http://git-wip-us.apach
Added a 'SECRET' type to the 'Environment' protobuf message.
This patch adds a field of type `Secret` to the
`Environment` protobuf message, enabling the passing
of secrets into the environments of executors and
tasks. Additional validation and test code is added
as well.
Review: https://reviews.
201 - 300 of 2276 matches
Mail list logo