GitHub user shendabin opened a pull request:
https://github.com/apache/mesos/pull/216
1.3.x
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/mesos 1.3.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mesos/pull/216.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #216
----
commit b8ab064ba6736d7aa7351a3d38207cb94b63e976
Author: Haosdent Huang <[email protected]>
Date: 2017-05-03T02:17:14Z
Added MESOS-7453 to 1.2.1 CHANGELOG.
commit f9f7522d5574afbdbe12506700a6d036cacecf7b
Author: Zhongbo Tian <[email protected]>
Date: 2017-05-03T06:00:37Z
Fixed compilation error on recent glibc for device whitelist.
Review: https://reviews.apache.org/r/58944/
commit 77f37b655bac737bfab5fcc36330b388b225ce46
Author: Chun-Hung Hsiao <[email protected]>
Date: 2017-05-05T21:55:33Z
Fetching docker image manifests with 'Accept' header.
Added 'Accept: application/vnd.docker.distribution.manifest.v1+json'
to the headers of HTTP requests for fetching manifests from any Docker
registry. Some registry services (e.g., Amazon ECR) check the 'Accept'
field strictly and reject the requests if it is not specified.
Review: https://reviews.apache.org/r/58725/
commit 3f146e37596d492e5651942fd02152610d9561ad
Author: Michael Park <[email protected]>
Date: 2017-05-02T23:40:00Z
CHANGELOG for 1.3.0 release.
Review: https://reviews.apache.org/r/58942
commit 149380cc0fe15f252946d49c427ed3eabee118db
Author: Michael Park <[email protected]>
Date: 2017-05-05T23:55:45Z
Removed WIP from 1.3.0 release notes.
commit bbdd2077ff09002ef0af6f9b94900fe386613f0c
Author: Chun-Hung Hsiao <[email protected]>
Date: 2017-05-06T20:29:12Z
Fixed a typo that detects if the platform is linux.
Review: https://reviews.apache.org/r/59037/
commit 3fb1f3f70b8a3ec547173870f31b90a50d8613d3
Author: Till Toenshoff <[email protected]>
Date: 2017-05-08T20:19:29Z
Added MESOS-7429 to 1.3.1 CHANGELOG.
commit c1e04ca97186d3b2edb73e32d7facbb6a35462aa
Author: Till Toenshoff <[email protected]>
Date: 2017-05-08T20:59:29Z
Added new ContainerLaunchInfo task_environment.
Review: https://reviews.apache.org/r/58923/
commit 51f70912cd9f97c82cb08ec2cf38f1a2d9ed1464
Author: Till Toenshoff <[email protected]>
Date: 2017-05-08T20:59:39Z
Updated containerizer for isolator task_environment merge.
Review: https://reviews.apache.org/r/58924/
commit 3e15c6b2785353bbdfedb0fb0941d61916958c76
Author: Till Toenshoff <[email protected]>
Date: 2017-05-08T20:59:51Z
Updated runtime isolators to use new task_environment member.
Review: https://reviews.apache.org/r/58925/
commit d9faf891e61121d84371b4930d8476165f761969
Author: Chun-Hung Hsiao <[email protected]>
Date: 2017-05-09T07:40:13Z
Changed `#elif ...` to `#elif defined(...)` in Mesos.
Review: https://reviews.apache.org/r/59063/
commit a58bb869190ce9ce0a4410a9b33f9c994bcd9d6c
Author: Gilbert Song <[email protected]>
Date: 2017-05-09T07:56:13Z
Fixed provisioner recover blockage by non-existing rootfses dir.
In provisioner recover, when listing the container rootfses, it is
possible that the 'rootfses' dir does not exist. Because a possible
race between the provisioner destroy and the agent restart. For
instance, while the provisioner is destroying the container dir the
agent restarts. Due to os::rmdir() is recursive by traversing the
FTS tree, it is possible that 'rootfses' dir is removed but the
others (e.g., scratch dir) are not.
Currently, we are returning an error if the 'rootfses' dir does not
exist, which blocks the agent from recovery. We should skip it if
'rootfses' does not exist.
Review: https://reviews.apache.org/r/59061/
commit e32a263c3b2cdade197f4d8683a33594e7155261
Author: Jie Yu <[email protected]>
Date: 2017-05-09T08:08:17Z
Added MESOS-7471 to 1.3.1 CHANGELOG.
commit 24622f16ed905cfc07b6d3820dde99835121c0d7
Author: Benjamin Mahler <[email protected]>
Date: 2017-05-09T01:13:25Z
Fixed the MULTI_ROLE upgrade path for an old master and new agent.
The agent was accidentally assuming that the task sent by the master
had the `allocation_info` set. The fix is for `getExecutorInfo` to
inject only in the case where it is already set.
Review: https://reviews.apache.org/r/59078
commit 95ec153225927f4e764b8120e797901ac98336ba
Author: Benjamin Mahler <[email protected]>
Date: 2017-05-09T21:15:25Z
Added MESOS-7478 to the 1.3.0 CHANGELOG.
commit 39d89327675f465b7267b947734141712d00e528
Author: Neil Conway <[email protected]>
Date: 2017-04-21T16:03:10Z
Enhanced stout's Version to support prerelease and build labels.
Previously, Stout's `Version` abstraction only supported a subset of
Semver: version numbers with three numeric components (an optional
trailing "label" with a leading hyphen was supported but ignored).
This commit adds support for SemVer 2.0.0, which defines two additional
optional fields: a "prerelease label" and a "build metadata label",
e.g., "1.2.3-alpha.1+foo". Both labels consist of a series of
dot-separated identifiers.
Review: https://reviews.apache.org/r/58707
commit b550a8fbb7763fcab0845fd1503710f33167b5f6
Author: Neil Conway <[email protected]>
Date: 2017-05-03T18:10:39Z
Switched to using unsigned types to represent versions in stout.
Review: https://reviews.apache.org/r/58971
commit 2ccaf9936f725801a70e0ca8026de0f68f962c45
Author: Neil Conway <[email protected]>
Date: 2017-03-06T18:55:07Z
Checked validity of master and agent version numbers on startup.
During startup, we now check that the compiled-in version number of the
master and agent can be parsed by stout's `Version::parse` (i.e., that
`MESOS_VERSION` is valid according to stout's extended variant of the
Semver 2.0.0 format).
Review: https://reviews.apache.org/r/58708
commit 347ad21aa07a9d1a40befca163689de36f4a0084
Author: Neil Conway <[email protected]>
Date: 2017-03-06T18:10:45Z
Prevent old Mesos agents from registering or re-registering.
Officially, Mesos 1.0.0 (and newer) masters do not support pre-1.0.0
Mesos agents. However, we previously allowed old agents to register,
which resulted in several master crashes. As a short-term solution, we
fixed those crashes by adding backward compatibility mechanisms into the
master, but that backward compatibility code has made the master logic
more complicated and difficult to understand.
This commit changes the master to ignore registration attempts by Mesos
agents that precede Mesos 1.0.0. Now that this safety check is in place,
master logic can safely assume that all agents are running at least
Mesos 1.0.0, which will allow several simplifications to be made.
Review: https://reviews.apache.org/r/58709
commit 1af90dfc954eaaea6bc927d60bf336315ec29e66
Author: Andrew Schwartzmeyer <[email protected]>
Date: 2017-05-09T21:06:01Z
Fixed `Version::validateIdentifier()` for Unicode edge case.
The test case `u8"1.0.0-b\u00e9ta"` in `VersionTest.ParseInvalid` caused
an abort in `isctype.cpp` with VS 2017. Changing the `char` to an
`unsigned char` prevents this.
Review: https://reviews.apache.org/r/59110/
commit d43d745353eaf9f27cd11956cf578b95fac2c3dd
Author: Neil Conway <[email protected]>
Date: 2017-05-10T00:50:11Z
Allowed leading zeros in input to stout's Version parser.
The original behavior was to allow leading zeros. When Version was
enhanced with more complete support for SemVer [1], it was also changed
to reject leading zeros in numeric components (version numbers and
prerelease identifiers). Although this change was consistent with the
SemVer spec (which mandates that such version strings "MUST" be
considered invalid), it breaks compatibility with the versions used by
some common software packages (e.g., Docker).
This commit reverts the change in behavior, so that leading zeros are
once again allowed. In the future, we might consider adding a "strict"
mode to the Version parser, and/or supporting an "options" scheme that
would allow the user to customize the version parser's behavior.
[1] 287556284d76e03c11cff3fc076224fe966096e0
Review: https://reviews.apache.org/r/59105/
commit f63d1157b4f0ae786f1cd9ffab9a8a9274f3eced
Author: Neil Conway <[email protected]>
Date: 2017-05-10T00:52:20Z
Cleaned up comments in stout's Version.
Review: https://reviews.apache.org/r/59122
commit 2157f624ee0d01edab2fb3fe7e1081011cc31b96
Author: Neil Conway <[email protected]>
Date: 2017-05-10T04:39:04Z
Added MESOS-{1987,6976,7389,7464,7484} to 1.3.0 CHANGELOG.
commit bea6410c056f85178b9075318ffcaa44a671b5b5
Author: Neil Conway <[email protected]>
Date: 2017-05-10T18:06:24Z
Added workaround to unbreak the build with glibc <= 2.12.
In old versions of glibc, the <sys/sysmacros.h> header must be enclosed
in an `extern "C" { ... }` block. This prevents Mesos from linking on
CentOS 6.9 and likely other platforms from the same timeframe.
In more recent versions of glibc, the `extern "C" { ... }` linkage
declaration is not necessary (because the header file specifies this
itself). In this situation, there will now be two linkage declarations,
but that is fine: the inner-most linkage declaration takes precedence.
Review: https://reviews.apache.org/r/59154
commit 9d7e366f59be30944dd74cc8cdab11d898e326fa
Author: Neil Conway <[email protected]>
Date: 2017-05-10T21:42:43Z
Added MESOS-7378 to CHANGELOG for 1.3.0.
commit 4defc66c1c30ff1101d4c060ef1d9d96c9f4c704
Author: Neil Conway <[email protected]>
Date: 2017-05-11T17:05:38Z
Adjusted test expectation for change to stout's Version.
Prerelease labels are now considered for equality between versions, per
SemVer spec.
Review: https://reviews.apache.org/r/59190
commit 6f7910c54bd20238a597432aff0530360140c8e3
Author: Neil Conway <[email protected]>
Date: 2017-05-11T17:12:36Z
Added another test case for Docker version parsing.
Review: https://reviews.apache.org/r/59191
commit 70a55e2f63cbfdd8145eadddbf3b7b9191379a98
Author: Neil Conway <[email protected]>
Date: 2017-05-11T18:46:25Z
Documented that Mesos 1.3.0, 1.2.1 don't allow old agents to register.
Review: https://reviews.apache.org/r/59198
commit a316ff496fb66a325bfcfe5871f82776b9620808
Author: Gilbert Song <[email protected]>
Date: 2017-05-09T07:56:13Z
Added MESOS-7471 to 1.3.0 CHANGELOG.
commit 76f662c21926f4890eb8ec7ea3c25b5e17090e6d
Author: Michael Park <[email protected]>
Date: 2017-05-12T10:15:23Z
Added MESOS-7471 to 1.3.0 CHANGELOG.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---