Re: mesos-execute + docker_image

2015-07-07 Thread Tim Chen
Hi there, What kind of parameters do you like to pass to mesos-execute? You can run mesos-execute --help and it shows you all the available parameters. Tim On Tue, Jul 7, 2015 at 7:26 AM, Jürgen Jakobitsch j.jakobit...@semantic-web.at wrote: hi, i just installed mesos-0.22.0 (from the

Re: mesos-execute + docker_image

2015-07-07 Thread Jürgen Jakobitsch
Hi. Mesosphere is not an option for now. I want to run the docker image without it. I run all my slaves with containerizer option and also saw mesos-execute help. There's a possible parameter docker_image which i want to use. However i need to pass parameter to the docker image (eg. -p for the

Re: mesos-execute + docker_image

2015-07-07 Thread Jürgen Jakobitsch
I meant to say: marathon is not an option... wkrj Am Dienstag, 7. Juli 2015 schrieb Jürgen Jakobitsch : Hi. Mesosphere is not an option for now. I want to run the docker image without it. I run all my slaves with containerizer option and also saw mesos-execute help. There's a possible

Re: [VOTE] Release Apache Mesos 0.23.0 (rc1)

2015-07-07 Thread Ian Downes
-1 Failing tests: https://issues.apache.org/jira/browse/MESOS-2199 https://issues.apache.org/jira/browse/MESOS-3000 On Tue, Jul 7, 2015 at 8:52 AM, CCAAT cc...@tampabay.rr.com wrote: {++1} Non binding. Gentoo works great on x64. Mostly working on arm8v. Besides the more frequently release

RE: mesos-execute + docker_image

2015-07-07 Thread Tom Arnfeld
I've been using mesos-execute for a few little experiments, using docker images. The --docker_image flag will be passed straight through to mesos as the string to use for the actual image. There are no other options at present for specifying docker port mapping/networking/volume configuration

Re: [VOTE] Release Apache Mesos 0.23.0 (rc1)

2015-07-07 Thread Paul Brett
-1 (non-binding) Network isolator will not compile. https://issues.apache.org/jira/browse/MESOS-3002 On Tue, Jul 7, 2015 at 11:38 AM, Alexander Rojas alexan...@mesosphere.io wrote: +1 (non-binding) Ubuntu Server 15.04 gcc 4.9.2 and clang 3.6.0 OS X Yosemite clang Apple LLVM based on 3.6.0

Re: Multi-mastersD

2015-07-07 Thread CCAAT
I'm glad to know it is easy, that's what I was hoping for. I want to keep the (3+) masters on line 7/24/365 but have different teams of slave that do different (industrial) tasks. Each team would be geographically close, if not on the same power buss. I would think this is routine, but I have

Re: [VOTE] Release Apache Mesos 0.23.0 (rc1)

2015-07-07 Thread Alexander Rojas
+1 (non-binding) Ubuntu Server 15.04 gcc 4.9.2 and clang 3.6.0 OS X Yosemite clang Apple LLVM based on 3.6.0 On 06 Jul 2015, at 21:14, Jörg Schad jo...@mesosphere.io wrote: After more testing: -1 (non-binding) Docker tests failing on CentOS Linux release 7.1.1503 (Core) , Tim is already

RE: mesos-execute + docker_image

2015-07-07 Thread Nikolaos Ballas neXus
Search for containerizers in the manual on apache or mesosphere sites Sent from my Samsung device Original message From: tommy xiao xia...@gmail.com Date: 07/07/2015 18:14 (GMT+01:00) To: user@mesos.apache.org Subject: Re: mesos-execute + docker_image How about check

Re: [VOTE] Release Apache Mesos 0.23.0 (rc1)

2015-07-07 Thread Adam Bordelon
-1 (non-binding) Network isolator will not compile. https://issues.apache.org/jira/browse/MESOS-3002 The changes for MESOS-2800 https://issues.apache.org/jira/browse/MESOS-2800 to Rename OptionT::get(const T _t) to getOrElse() happened after the 0.23.0-rc1 cut and are not planned for

Re: Multi-mastersD

2015-07-07 Thread Marco Massenzio
(I'm sure I'm missing something here, so please forgive if I'm stating the obvious) This is actually very well supported right now: you can use slave attributes (if, eg, you want to name the various clusters differently and launch tasks according to those criteria) that would be passed on to the

Re: Java detector for mess masters and leader

2015-07-07 Thread Donald Laidlaw
Thank you all. I will use the Curator recipe, since I already use Curator for a bunch of other things. If curator can find the leader and the participants that is good enough. Otherwise I will parse the protocol buffer contents, and provide a way to parse the future son contents when that

[RESULT] [VOTE] Release Apache Mesos 0.23.0 (rc1)

2015-07-07 Thread Adam Bordelon
In case it wasn't obvious, rc1 did not pass the vote, due to a few build and unit test issues. Most of those fixes have been committed, so we will cut rc2 when the last blocker is resolved. This is your last chance to get any recently committed patches or resolved issues into 0.23.0. I am tracking

Resource Allocation Question

2015-07-07 Thread Ying Ji
Hey, Mesos experts: The default allocation policy for mesos is DRF. Assume the dominant share for Framework1 is 20%, and the dominant share for Framework2 is 0%. So, Framework2 will receive next shares of resource offer which will increase the its dominant share to 10%. Since framework 2

RE: Lots of master elections

2015-07-07 Thread Ashic Mahtab
Ah..that was while I was setting things up. I guess if one master goes down, I'm temporarily in that scenario, hence I'd expect it to work - which it does. I think the issue was that the apt-get install started the service, and I changed settings, and it needed a clearing up of the cached

mesos-execute + docker_image

2015-07-07 Thread Jürgen Jakobitsch
hi, i just installed mesos-0.22.0 (from the mesossphere repos) on centOS6. can anyone point me into the right direction on how to run a docker image inside mesos using mesos-execute plus the docker_image parameter. also note that i would like to pass some parameters to the docker run command

Re: Java detector for mess masters and leader

2015-07-07 Thread David Greenberg
You can check out Satellite: https://github.com/twosigma/satellite which is a complete monitoring metrics system for Mesos. It avoids the need to snoop the ZK connection by instead discovering that info via the rest API. On Tue, Jul 7, 2015 at 9:03 AM Donald Laidlaw donlaid...@me.com wrote:

Re: Java detector for mess masters and leader

2015-07-07 Thread Dick Davies
The active master has a flag set in /metrics/snapshot : master/elected which is 1 for the active master and 0 otherwise, so it's easy enough to only load the metrics from the active master. (I use the collectd plugin and push data rather than poll, but the same principle should apply). On 7

Re: Java detector for mess masters and leader

2015-07-07 Thread Nikolaos Ballas neXus
The only downside to that approach is that you consider you have apriori knowledge of the ip’s of the master. But if you are doing that from an external application and the nodes goes up and down the same ip/master/state.json can’t be conceived as granted. I used to go down that path, but if

Re: Java detector for mess masters and leader

2015-07-07 Thread Nikolaos Ballas neXus
Hi Don, actually you can use Apache Curator, to create a connection to Zookeeper and then instantiate a LeaderSelector object. If you pass as path the path under which you mesos master nodes register for formaming an ensemble then the that object you can call getLeader() or getParticipants and

Re: Java detector for mess masters and leader

2015-07-07 Thread Nikolaos Ballas neXus
Just not to forget, you can use the native Zookeeper API but in that case you should be aware that detecting the leader is a bit tricky. You ask for getPath(“/mesos/“ , true) and then you iterate over the children again calling getPath(). The string object returned contains some timestamps and

Re: Java detector for mess masters and leader

2015-07-07 Thread Philippe Laflamme
Querying for /master/state.json will provide you with the master. So you can query any one of the hosts in your list of potential masters, extract the master information from that and then hit your master on the endpoint you're interested in. Philippe On Tue, Jul 7, 2015 at 9:02 AM, Donald

Re: [RESULT] [VOTE] Release Apache Mesos 0.23.0 (rc1)

2015-07-07 Thread Marco Massenzio
As a general rule, we should not include anything other than the fixes in an RC, to avoid introducing further bugs in a never-ending cycle. Please keep the cherry-picking strictly limited to a very narrow set (which I'm sure you're already doing, but your email seemed to imply otherwise ;-)

regarding task resource usage

2015-07-07 Thread Badal Naik
Hello Mesos, i worked with mesos/docker since some days it works like a charm.I have a question regarding task resource usage in slaves: If i have 3 slaves: Slave a: 8 cores Slave b: 16 cores slave c : 4 cores And if i start a task via marathon with 0.1 cpus and 3 instances than how it will

Re: Resource Allocation Question

2015-07-07 Thread Vinod Kone
The DRF algorithm works by looking at one slave's resource at a time. If a slave's resource is filtered by a framework (due to declining), that framework will not be considered a candidate for DRF for that resource. So in your example, if Framework2 rejects, Framework1 should get the offer. On

Can marathon cancel a deployment if the application is sick?

2015-07-07 Thread Maciej Strzelecki
How to make marathon cancel a deployment if the app is not starting after several tries? I saw those three settings (with defaults) in the documentation backoffSeconds: 1, backoffFactor: 1.15, maxLaunchDelaySeconds: 3600, backoffSeconds, backoffFactor and maxLaunchDelaySeconds Configures

Re: Java detector for mess masters and leader

2015-07-07 Thread Marco Massenzio
Hi Donald, the information stored in the Zookeeper znode is a serialized Protocol Buffer (see MasterInfo in mesos/mesos.proto https://git-wip-us.apache.org/repos/asf?p=mesos.git;a=blob;f=include/mesos/mesos.proto;h=3dd4a5b7a4b3bc56bdc690d6adf05f88c0d28273;hb=HEAD); here is a brief explanation of

Multi-mastersD

2015-07-07 Thread CCAAT
Hello team_mesos, Is there any reason one set of (3) masters cannot talk to and manage several (many) different slave clusters of (3)? These slave clusters would be different arch, different mixes of resources and be running different frameworks, but all share/use the same (3) masters. Ideas

RE: Can marathon cancel a deployment if the application is sick?

2015-07-07 Thread David Kesler
I don't believe so. We ran into a similar issue. Investigation of marathon's github account revealed the following relevant tickets: https://github.com/mesosphere/marathon/issues/1504 https://github.com/mesosphere/marathon/issues/ https://github.com/mesosphere/marathon/issues/1470