Re: 2 Mesos Slaves in same machine

2018-03-07 Thread Jie Yu
> > Running 2 agents on the same server will send the same offer twice( same > offer by each agent ) and there are chances that resources will be over > utilized by accepting the same offer twice by the framework. If you didn't specify `--resources` flags on the agent, then yes. May I know

Re: 2 Mesos Slaves in same machine

2018-03-07 Thread Baskar Sikkayan
1. Is my understanding correct? Running 2 agents on the same server will send the same offer twice( same offer by each agent ) and there are chances that resources will be over utilized by accepting the same offer twice by the framework. 2. May I know the settings( cgroup ) required to run 2

Re: 2 Mesos Slaves in same machine

2018-03-07 Thread Jie Yu
Running Docker containers won't work properly because restarting one agent will cause Docker containers managed by the other agent to be deleted. On Wed, Mar 7, 2018 at 9:58 PM, Baskar Sikkayan wrote: > We dont have any isolation setting. Looks like 2 slaves are sending

Re: 2 Mesos Slaves in same machine

2018-03-07 Thread Baskar Sikkayan
We dont have any isolation setting. Looks like 2 slaves are sending too many offers( same resource offers by 2 agents ) and hence servers gets overloaded by too many docker jobs and docker becomes unresponsive. Even "docker ps" not working in this case and docker meta files gets corrupted on

Re: 2 Mesos Slaves in same machine

2018-03-07 Thread Jie Yu
It depends on your isolation setting (mainly cgroup, or any node level resources). In general, we don't recommend folks use multiple agents on a node. It's possible to make it work by setting `cgroup_root` separately for MesosContainerizer. For DockerContainerizer, currently, we hard code

2 Mesos Slaves in same machine

2018-03-07 Thread Baskar Sikkayan
Hi, We are running 3 node mesos cluster and on each node running 1 mesos master and 2 mesos slaves. Is this a good practice? Will it be a problem running 2 slaves as it might offer too much and will get overloaded. Thanks, Baskar.S

MesosCon 2018

2018-03-07 Thread Benjamin Hindman
Fellow Mesos Community Members, Many of you have probably seen the announcement for Mesosphere Advance, a conference co-located at CloudNativeCon. Given the deep involvement that Mesosphere has had with past MesosCons, this has left many of you asking us if Mesosphere Advance replaces MesosCon.

How to get the Mesos Spark Framework to use multiple disks

2018-03-07 Thread Jeff Kubina
>From the spark documentation on spark.local.dir or SPARK_LOCAL_DIRS options it looks like the Mesos Spark Framework can be configured to use multiple disks. spark.local.dir Directory to use for "scratch" space in