[ 
https://issues.apache.org/jira/browse/MESOS-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Littlestar updated MESOS-2526:
------------------------------
    Description: 
mesos start-cluster.sh

master node start ok, but slave node start fail.
echo slave node has log message, but nothing seens fail.
no mesos process running on slave node.
==========
masters and slaves file is ok.
the following work ok.
export MESOS_master=mymaster:5050
mesos-slave

why does it work fail in mesos-slave-env.sh?
Thanks

-bash-4.1# cat /usr/etc/mesos/mesos-slave-env.sh

{noformat}

# This file contains environment variables that are passed to mesos-slave.
# To get a description of all options run mesos-slave --help; any option
# supported as a command-line option is also supported as an environment
# variable.

# You must at least set MESOS_master.

# The mesos master URL to contact. Should be host:port for
# non-ZooKeeper based masters, otherwise a zk:// or file:// URL.
export MESOS_master=mymaster:5050

# Other options you're likely to want to set:
export MESOS_log_dir=/var/log/mesos
export MESOS_work_dir=/var/run/mesos
export MESOS_isolation=cgroups
{noformat}



  was:
mesos start-cluster.sh

master node start ok, but slave node start fail.
echo slave node has log message, but nothing seens fail.
no mesos process running on slave node.
==========
the following work ok.
export MESOS_master=mymaster:5050
mesos-slave

why does it work fail in mesos-slave-env.sh?
Thanks

-bash-4.1# cat /usr/etc/mesos/mesos-slave-env.sh

{noformat}

# This file contains environment variables that are passed to mesos-slave.
# To get a description of all options run mesos-slave --help; any option
# supported as a command-line option is also supported as an environment
# variable.

# You must at least set MESOS_master.

# The mesos master URL to contact. Should be host:port for
# non-ZooKeeper based masters, otherwise a zk:// or file:// URL.
export MESOS_master=mymaster:5050

# Other options you're likely to want to set:
export MESOS_log_dir=/var/log/mesos
export MESOS_work_dir=/var/run/mesos
export MESOS_isolation=cgroups
{noformat}




> MESOS_master in  mesos-slave-env.sh is not work well by mesos-slave
> -------------------------------------------------------------------
>
>                 Key: MESOS-2526
>                 URL: https://issues.apache.org/jira/browse/MESOS-2526
>             Project: Mesos
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: 0.21.1
>            Reporter: Littlestar
>            Priority: Minor
>
> mesos start-cluster.sh
> master node start ok, but slave node start fail.
> echo slave node has log message, but nothing seens fail.
> no mesos process running on slave node.
> ==========
> masters and slaves file is ok.
> the following work ok.
> export MESOS_master=mymaster:5050
> mesos-slave
> why does it work fail in mesos-slave-env.sh?
> Thanks
> -bash-4.1# cat /usr/etc/mesos/mesos-slave-env.sh
> {noformat}
> # This file contains environment variables that are passed to mesos-slave.
> # To get a description of all options run mesos-slave --help; any option
> # supported as a command-line option is also supported as an environment
> # variable.
> # You must at least set MESOS_master.
> # The mesos master URL to contact. Should be host:port for
> # non-ZooKeeper based masters, otherwise a zk:// or file:// URL.
> export MESOS_master=mymaster:5050
> # Other options you're likely to want to set:
> export MESOS_log_dir=/var/log/mesos
> export MESOS_work_dir=/var/run/mesos
> export MESOS_isolation=cgroups
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to