You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2014/09/17 02:50:33 UTC
[jira] [Updated] (MESOS-1801) MESOS_work_dir and MESOS_master env
vars not honoured
[ https://issues.apache.org/jira/browse/MESOS-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinod Kone updated MESOS-1801:
------------------------------
Fix Version/s: (was: 0.20.1)
> MESOS_work_dir and MESOS_master env vars not honoured
> -----------------------------------------------------
>
> Key: MESOS-1801
> URL: https://issues.apache.org/jira/browse/MESOS-1801
> Project: Mesos
> Issue Type: Bug
> Components: cli
> Affects Versions: 0.20.0
> Environment: CentOS 7
> Reporter: Cosmin Lehene
>
> The documentation states that cli params should be substitutable by environment variables
> {quote}
> Each option can be set in two ways:
> By passing it to the binary using --option_name=value.
> By setting the environment variable MESOS_OPTION_NAME (the option name with a MESOS_ prefix added to it).
> {quote}
> However at least the master's MESOS_work_dir and slave's "MESOS_master" env vars seem to be ignored:
> {noformat}
> [root@localhost ~]# echo $MESOS_master
> zk://localhost:2181/mesos
> [root@localhost ~]# mesos-slave
> Missing required option --master
> [root@localhost ~]# echo $MESOS_work_dir
> /var/lib/mesos
> [root@localhost ~]# mesos-master
> I0917 08:36:46.242200 31325 main.cpp:155] Build: 2014-08-22 05:06:06 by root
> I0917 08:36:46.242369 31325 main.cpp:157] Version: 0.20.0
> I0917 08:36:46.242377 31325 main.cpp:160] Git tag: 0.20.0
> I0917 08:36:46.242382 31325 main.cpp:164] Git SHA: f421ffdf8d32a8834b3a6ee483b5b59f65956497
> --work_dir needed for replicated log based registry
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)