mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Littlestar (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MESOS-2526) MESOS_master in mesos-slave-env.sh is not work well by mesos-slave
Date Fri, 20 Mar 2015 17:32:38 GMT

    [ https://issues.apache.org/jira/browse/MESOS-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371693#comment-14371693
] 

Littlestar edited comment on MESOS-2526 at 3/20/15 5:32 PM:
------------------------------------------------------------

I changed  /usr/sbin/mesos-daemon.sh, now it shows detail message in console.
{noformat}

#nohup ${exec_prefix}/sbin/${PROGRAM} ${@} </dev/null >/dev/null 2>&1 &
 ${exec_prefix}/sbin/${PROGRAM} ${@}

Failed to create a containerizer: Could not create MesosContainerizer: Could not create isolator
cgroups/cpu: Failed to prepare hierarchy for cpu subsystem: Failed to mount cgroups hierarchy
at '/sys/fs/cgroup/cpu': Failed to create directory '/sys/fs/cgroup/cpu': No such file or
directory

{noformat}



was (Author: cnstar9988):
I changed  /usr/sbin/mesos-daemon.sh, now it shows detail message in console.
#nohup ${exec_prefix}/sbin/${PROGRAM} ${@} </dev/null >/dev/null 2>&1 &
 ${exec_prefix}/sbin/${PROGRAM} ${@}

Failed to create a containerizer: Could not create MesosContainerizer: Could not create isolator
cgroups/cpu: Failed to prepare hierarchy for cpu subsystem: Failed to mount cgroups hierarchy
at '/sys/fs/cgroup/cpu': Failed to create directory '/sys/fs/cgroup/cpu': No such file or
directory

> 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)

Mime
View raw message