Re: Running a task in Mesos cluster

2015-10-03 Thread Ondrej Smola
? > > Regards, > Pradeep > > On 3 October 2015 at 10:43, Ondrej Smola wrote: > >> >> mesos framework receive offers and based on those offers it decides where >> to run tasks. >> >> >> mesos-execute is little framework that executes your task

Re: Running a task in Mesos cluster

2015-10-03 Thread Ondrej Smola
sh the task on all the slaves > equally? Am I missing something here? > > Regards, > Pradeep > > > > On 2 October 2015 at 15:07, Ondrej Smola wrote: > >> Hi Pradeep, >> >> the problem is with IP your slave advertise - mesos by default resolves >&

Re: Running a task in Mesos cluster

2015-10-02 Thread Ondrej Smola
Hi Pradeep, the problem is with IP your slave advertise - mesos by default resolves your hostname - there are several solutions (let say your node ip is 192.168.56.128) 1) export LIBPROCESS_IP=192.168.56.128 2) set mesos options - ip, hostname one way to do this is to create files echo "192.

Re: API client libraries

2015-09-03 Thread Ondrej Smola
I could also help with reference implementation (be it Go, Java, Scala/Akka or Python - i prefer Go as large part of our infrastructure is written in Go). In my opinion, externalizing client libraries is good way to go - leave Mesos as core C++ project and move Java and Python clients to separate

Re: Mesos works fine, but problems with Marathon console.

2015-07-30 Thread Ondrej Smola
Hi do you see marathon registered as a framework in mesos UI? 2015-07-31 1:04 GMT+02:00 Haripriya Ayyalasomayajula : > well, yes. But I see very minimal activity there, wanted to try my luck > here too! > > On Thu, Jul 30, 2015 at 3:50 PM, Vinod Kone wrote: > >> sounds like a marathon issue. di

Re: Custom executor

2015-07-29 Thread Ondrej Smola
putting it on the slave, and supplying the path to it in the > JSON? > > Thanks! > > Aaron > > -- > *From:* Ondrej Smola [ondrej.sm...@gmail.com] > *Sent:* 29 July 2015 10:13 > *To:* user@mesos.apache.org > *Subject:* Re: Custom executor &g

Re: Problems connecting with Mesos Master

2015-07-29 Thread Ondrej Smola
55.893728 46272 sched.cpp:264] No credentials provided. > Attempting to register without authentication > > On Tue, Jul 28, 2015 at 10:35 PM, Ondrej Smola > wrote: > >> Hi Haripiya, >> >> When you run Spark on Mesos it needs to run >> >> spark drive

Re: Custom executor

2015-07-29 Thread Ondrej Smola
Hi Aaron, custom executor should be supported by Marathon - i dont use it but from tests in https://github.com/mesosphere/marathon/blob/master/src/test/scala/mesosphere/mesos/TaskBuilderTest.scala#L236 there is a option to specify path to custom executor. https://mesosphere.github.io/marathon/d

Re: Problems connecting with Mesos Master

2015-07-28 Thread Ondrej Smola
Hi Haripiya, When you run Spark on Mesos it needs to run spark driver mesos scheduler and both need to be visible to outside world on public iface IP you need to tell Spark and Mesos on which interface to bind - by default they resolve node hostname to ip - this is loopback address in your case

Re: Mesos-DNS configuration problem with dockerized web application

2015-07-16 Thread Ondrej Smola
ant to use > HAProxy. > I think I have to use HAProxy/Bamboo to achieve this functionality. > > From: Ondrej Smola > Reply-To: "user@mesos.apache.org" > Date: Thursday, July 16, 2015 at 2:55 PM > To: "user@mesos.apache.org" > Subject: Re: Mesos

Re: Mesos-DNS configuration problem with dockerized web application

2015-07-16 Thread Ondrej Smola
Hi, "portMappings": [ { "containerPort": 8080, "hostPort": *80*, "servicePort": 9000, "protocol": "tcp" } ] will work - you need to specify required port as hostPort only limitation of this setup is that you wont be able to run multiple services on single host with same hostPort (port c

Re: mesos cluster setup

2015-07-09 Thread Ondrej Smola
Hi Jakub, quickly from logs ZK 10.0.1.25 and 10.0.1.28 goes down then after a while 10.0.1.213 is also reported as down -> ZK lost availability mesos master is trying to reconnect to ZK but has not luck -> after a while zookeepers goes up and then down then stack trace from mesos registrar - ca

Re: Setting Rate of Resource Offers

2015-06-13 Thread Ondrej Smola
Hi Christopher, i dont know about any way way how to speed up first resource offer - in my experience new offers arrive almost immediately after framework registration. It depends on the infrastructure you are testing your framework on - are there any other frameworks running? As is discussed in a

Re: [DISCUSS] Renaming Mesos Slave

2015-06-04 Thread Ondrej Smola
Hi, -1 master/worker -1 master/agent -1 leader/follower +1 master/slave Suggestion: +1 brain/hands +1 policeman/civilian In both cases - rename it later :) I think the Mesos project is not in the stage where these "extremely important problems" deserve such a waste of smart people's time. Ha

Re:

2015-05-21 Thread Ondrej Smola
mesos would just offer everything available? > > Thanks, > Aaron > > ------ > *From:* Ondrej Smola [ondrej.sm...@gmail.com] > *Sent:* 21 May 2015 12:04 > *To:* user@mesos.apache.org > *Subject:* > > Hi Aaron, > > You can set memory in

[no subject]

2015-05-21 Thread Ondrej Smola
Hi Aaron, You can set memory in /etc/mesos-slave/resources example: cpus(*):4;mem(*):16067;ports(*):[80-80,31000-32000] with this configuration mesos offers 15.7GB RAM on one of our nodes. 2015-05-21 12:51 GMT+02:00 Aaron Carey : > I've managed to increase the disksize by playing with

Re: zookeeper quorum failing because of high network load

2015-04-28 Thread Ondrej Smola
Hi Martin, do all 3 zookeepers go down with same error logs/cause - there should be some info as one node failure should not cause ZK to fail (as quorum is maintained) and remaining nodes should at least show some info from failure detector. The original log you posted are after stopping zookeeper

Re: Mesos-DNS

2015-02-24 Thread Ondrej Smola
Hi Anirudha, we are currently using mesos-dns and latest version compiles just fine (ubuntu 14.04, go 1.2.1). 2015-02-24 18:36 GMT+01:00 Ken Sipe : > Anirudha, > > Did you follow: http://mesosphere.github.io/mesos-dns/docs/ ? > > the build should work according to the build instructions. > > ken

Re: Storm on Mesos - 3 Masters

2015-02-06 Thread Ondrej Smola
119-114412-171485376-5050-6660-0002 >> I0119 12:40:54.209858 4959 master.cpp:1520] Received re-registration >> request from framework 20150119-114412-171485376-5050-6660-0002 (Storm >> 0.9.3) at scheduler-37d9a510-1136-4adb-be09-c9c2e388611f@127.0.1.1:52310 >> >> >> Other frameworks works okay and handles leading masters on another node >> correctly. >> From breef look at source code it hangs >> >> >> https://github.com/mesos/storm/blob/master/src/storm/mesos/MesosNimbus.java >> at line 153 >> >> when trying to acquire semaphore. >> >> >> Thank you for your great job >> >> Ondrej Smola >> > >

Storm on Mesos - 3 Masters

2015-01-19 Thread Ondrej Smola
leading masters on another node correctly. >From breef look at source code it hangs https://github.com/mesos/storm/blob/master/src/storm/mesos/MesosNimbus.java at line 153 when trying to acquire semaphore. Thank you for your great job Ondrej Smola