mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ji...@apache.org
Subject [2/2] mesos git commit: Updated upgrades.md about executor environment variables change.
Date Mon, 20 Jun 2016 19:25:31 GMT
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 <yujie.jay@gmail.com>
Authored: Mon Jun 20 12:02:30 2016 -0700
Committer: Jie Yu <yujie.jay@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.


Mime
View raw message