You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/06/20 19:25:30 UTC
[1/2] mesos git commit: Updated CHANGELOG about the executor
environment variables change.
Repository: mesos
Updated Branches:
refs/heads/master 42836707d -> 18ef44602
Updated CHANGELOG about the executor environment variables change.
Review: https://reviews.apache.org/r/48962
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/18ef4460
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/18ef4460
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/18ef4460
Branch: refs/heads/master
Commit: 18ef44602e535d2a362dbe65809893139aaf6d28
Parents: e0a8ac7
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Jun 20 12:11:14 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Jun 20 12:25:12 2016 -0700
----------------------------------------------------------------------
CHANGELOG | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/18ef4460/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 0fc545f..df7ee03 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -161,6 +161,9 @@ Additional API Changes:
Unavailable) instead of `500` (Internal Server Error) when the authenticator
or the authorizer fails to process the request.
+ * [MESOS-5657] - Executors should not inherit environment variables from the
+ agent.
+
3rd Party Upgrades:
* [MESOS-4805] - Upgraded vendored ry-http-parser-1c3624a to nodejs/http-parser 2.6.1.
* [MESOS-4678] - Upgraded vendored protobuf 2.5.0 to 2.6.1.
[2/2] mesos git commit: Updated upgrades.md about executor
environment variables change.
Posted by ji...@apache.org.
Updated upgrades.md about executor environment variables change.
Executors will no longer inherit environment variables from the agent.
Review: https://reviews.apache.org/r/48961
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e0a8ac72
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e0a8ac72
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e0a8ac72
Branch: refs/heads/master
Commit: e0a8ac72b695520f840c83f70debe3d1e5df58cb
Parents: 4283670
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Jun 20 12:02:30 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Jun 20 12:25:12 2016 -0700
----------------------------------------------------------------------
docs/upgrades.md | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/e0a8ac72/docs/upgrades.md
----------------------------------------------------------------------
diff --git a/docs/upgrades.md b/docs/upgrades.md
index 61b7cd3..94f7969 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -51,6 +51,7 @@ We categorize the changes as follows:
<li>C <a href="#1-0-x-persistent-volume">Destruction of persistent volumes</a></li>
<li>C <a href="#1-0-x-slave">Slave to Agent rename</a></li>
<li>C <a href="#1-0-x-quota-acls">Quota ACLs</a></li>
+ <li>R <a href="#1-0-x-executor-environment-variables">Executor environment variables inheritance</a></li>
</ul>
</td>
<td style="word-wrap: break-word; overflow-wrap: break-word;"><!--Flags-->
@@ -172,6 +173,10 @@ We categorize the changes as follows:
## Upgrading from 0.28.x to 1.0.x ##
+<a name="1-0-x-executor-environment-variables"</a>
+
+* By default, executors will no longer inherit environment variables from the agent. The operator can still use the `--executor-environment-variables` flag on the agent to explicitly specify what environment variables the executors will get. Mesos generated environment variables (i.e., `$MESOS_`, `$LIBPROCESS_`) will not be affected. If `$PATH` is not specified for an executor, a default value `/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin` will be used.
+
<a name="1-0-x-allocator-metrics"></a>
* The allocator metric named <code>allocator/event_queue_dispatches</code> is now deprecated. The new name is <code>allocator/mesos/event_queue_dispatches</code> to better support metrics for alternative allocator implementations.