Re: Error While MESOS Setup

2015-05-29 Thread Adam Bordelon
Roshan, do you even have Java installed on your machine? If not, you can disable Java support in Mesos by specifying `./configure --disable-java` On Thu, May 28, 2015 at 4:42 AM, Alex Rukletsov a...@mesosphere.com wrote: Roshan, Let's assume the configure script is right: could you please

Re: Mesos framework example in c++

2015-05-29 Thread Tom Arnfeld
It might be worth looking at the code for mesos-execute, that has some support for basic docker containers. -- Tom Arnfeld Developer // DueDil (+44) 7525940046 25 Christopher Street, London, EC2A 2BS On Fri, May 29, 2015 at 8:29 AM, Adam Bordelon a...@mesosphere.io wrote: I don't

Re: Mesos framework example in c++

2015-05-29 Thread baotiao
Yes, I know Rendler, it is an example of using mesos in c++, but it don't use docker container I want to see a framework written in C++ how to set up docker with mesos, I find the example docker_no_executor_framework can't work in my case. So thank you all the same.

Re: Mesos framework example in c++

2015-05-29 Thread Adam Bordelon
I don't know of a C++ framework that uses docker containers yet, but for a simple example C++ framework, check out the RENDLER: https://github.com/mesosphere/RENDLER/tree/master/cpp For a docker-enabled framework written in Go, try Swarm:

Re: Not able to connect to mesos from different machine

2015-05-29 Thread Alberto Rodriguez
To be honest I don't know what was the problem. I didn't manage to make my Spark jobs work on the mesos cluster running on two virtual machines. I managed to make it work when I run my Spark jobs on my local machine and both master and mesos slaves are running also in my machine. I guess

Re: Not able to connect to mesos from different machine

2015-05-29 Thread Alberto Rodriguez
Hi Marco, there is no need to apologize! Thank you very, very much for your detailed explanation. As you said I tested it out NAT'ing the VMs but it didn't' work. I'll try to test your solution when I've got some spare time and get back to the group to let you know guys if your solution work.

Re: Not able to connect to mesos from different machine

2015-05-29 Thread Marco Massenzio
Apologies in advance if you already know all this and are an expert on vbox networking - but maybe this either helps or at least may point you in the right direction (hopefully!) The problem is most likely to be found in the fact that your laptop (or whatever box you're running vbox in) has a

Docker port_mapping issue

2015-05-29 Thread Olivier Sallou
container 'd9b5be3e-9f00-4242-aa91-d6a6f3a5175a' for task '0' (and executor '0') of framework '20150529-103634-16777343-5050-18179-0020' E0529 13:50:54.362663 18420 slave.cpp:3112] Container 'd9b5be3e-9f00-4242-aa91-d6a6f3a5175a' for executor '0' of framework '20150529-103634-16777343-5050-18179-0020

Re: Docker port_mapping issue

2015-05-29 Thread Olivier Sallou
-d6a6f3a5175a' for task '0' (and executor '0') of framework '20150529-103634-16777343-5050-18179-0020' E0529 13:50:54.362663 18420 slave.cpp:3112] Container 'd9b5be3e-9f00-4242-aa91-d6a6f3a5175a' for executor '0' of framework '20150529-103634-16777343-5050-18179-0020' failed to start: Port

Re: Custom Mesos Allocation module

2015-05-29 Thread Dariia Zhyrova
Hi Alex, My task was to create allocator which produces information about all protobufs it receives to Kafka (prior to actual resources allocation). Here is the implementation: https://github.com/stealthly/alligator. I had to copy-paste Hierarchical allocator from Mesos sources since

Re: [jira] [Closed] (MESOS-2780) Non-POD static variables

2015-05-29 Thread Paul Brett
Disagree that this is a duplicate. MESOS-2777 identifies an issue with the handling of coverity reports within the project while MESOS-2880 identifies around 80 locations where non-POD static initializations within the code base should be corrected. Should MESOS-2777 have a coverity report

Re: Not able to connect to mesos from different machine

2015-05-29 Thread Marco Massenzio
You're most welcome! Just another thing, then: please be aware that, if you are on a Mac and running Cisco's VPN client, that one messes with VBox's firewall rules for host-only and will cause baffling behavior :) (just thought I'd mention, at another place I worked at, it gave us a lot of grief

Re: Docker port_mapping issue

2015-05-29 Thread Timothy Chen
-d6a6f3a5175a' for task '0' (and executor '0') of framework '20150529-103634-16777343-5050-18179-0020' E0529 13:50:54.362663 18420 slave.cpp:3112] Container 'd9b5be3e-9f00-4242-aa91-d6a6f3a5175a' for executor '0' of framework '20150529-103634-16777343-5050-18179-0020' failed to start: Port mappings

Re: Error While MESOS Setup

2015-05-29 Thread Kevin Sweeney
Would it make sense for configure to automatically disable Java support if it can't find a JDK (with an appropriate warning)? That seems more in line with how other projects' configure scripts work. On Fri, May 29, 2015 at 12:31 AM, Adam Bordelon a...@mesosphere.io wrote: Roshan, do you even