Re: Running a task in Mesos cluster

2015-10-03 Thread Ondrej Smola
gt; Do I need to start some process to push the task on all the slaves > equally? Am I missing something here? > > Regards, > Pradeep > > > > On 2 October 2015 at 15:07, Ondrej Smola <ondrej.sm...@gmail.com> wrote: > >> Hi Pradeep, >> >> the proble

Re: Running a task in Mesos cluster

2015-10-03 Thread Ondrej Smola
e tasks under one unified user? > > Regards, > Pradeep > > On 3 October 2015 at 10:43, Ondrej Smola <ondrej.sm...@gmail.com> wrote: > >> >> mesos framework receive offers and based on those offers it decides where >> to run tasks. >> >> >>

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

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-31 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 aharipriy...@gmail.com : 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 vinodk...@gmail.com

Re: Custom executor

2015-07-29 Thread Ondrej Smola
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 Hi Aaron, custom executor should be supported by Marathon - i dont use it but from tests

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.

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

Re: Mesos-DNS configuration problem with dockerized web application

2015-07-16 Thread Ondrej Smola
have to use HAProxy/Bamboo to achieve this functionality. From: Ondrej Smola ondrej.sm...@gmail.com Reply-To: user@mesos.apache.org user@mesos.apache.org Date: Thursday, July 16, 2015 at 2:55 PM To: user@mesos.apache.org user@mesos.apache.org Subject: Re: Mesos-DNS configuration problem

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

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 -

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.

[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 aca...@ilm.com: I've managed to increase the disksize by

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

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 kens...@gmail.com: Anirudha, Did you follow: http://mesosphere.github.io/mesos-dns/docs/ ? the build should work according to the build

Re: Storm on Mesos - 3 Masters

2015-02-06 Thread Ondrej Smola
, Ondrej Smola ondrej.sm...@gmail.com wrote: Hi, we have Mesos cluster installation - 3 masters (0.21.0), ZK (3.4.5) running Mesos, Spark, Chronos, Marathon and Storm 0.9.3. All nodes running Ubuntu 14.04. My problem is that i have to start MesosNimbus on currently elected leader, otherwise

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