Hi,
I build a small proxy for that. The required Mesos API is quite small so
I just created my own SchedulerDriver implementation and send then to a
proxy component that is running in a docker container. In there I can
easily have the native dependency. So a proxy scheduler is running in
there and forwards the calls coming from Mesos to the proxy
SchedulerDriver. For the communication I used websockets. As the API
uses proto buffers you can quite easily send them over the wire. This
way I can run my code even on Windows.
regards,
Hendrik
On 10.07.2017 13:48, Oeg Bizz wrote:
All,
I am continuing developing a Java framework using the Java API
rather than the HTTP API (long story here). The ultimate goal is to
run the framework on its own container, but in the meantime I am
constantly making updates to it. So, I would like to be able to run
the framework on my Centos 7 node (no containers) until is ready. I
have a mesos-master and mesos-slave running on different containers.
How can I run the framework WITHOUT installing mesos on my computer?
I want to use the libraries contained in the mesos docker containers,
is that possible? I tried mounting a volume and copying the libmesos
from the container to that volume and set the
MESOS_NATIVE_JAVA_LIBRARY accordingly, but is complaining about not
finding the libsvn_delta library. Is there a list somewhere of all
the .so files I need to expose? Is what I am trying to do absurd and
I should just installed Mesos? I know installing Mesos is the easy
answer, but it will be nice to run mesos on containers rather than on
the computer. Thanks for your help,
Oscar