sailthru / relay.mesos

A mesos plugin for Relay that lets you auto-scale the number of currently running instances of a bash command
Apache License 2.0
38 stars 3 forks source link

Mesos native bindings not installed #2

Open 208rishabh opened 9 years ago

208rishabh commented 9 years ago

Hi, newbie here!

This might be silly. I was trying to use mesos.relay for autoscaling purposes, but it show that "Mesos native bindings are not installed". Could you help me out?

akerekes commented 9 years ago

Hi Rishabh,

you'll need to install it separately. You can download it from Mesosphere's website and add it to PYTHONPATH. You can look into the Dockerfile for and example:

Download: https://github.com/sailthru/relay.mesos/blob/master/Dockerfile#L14

Set PYTHONPATH: https://github.com/sailthru/relay.mesos/blob/master/Dockerfile#L17

adgaudio commented 9 years ago

Hi Rishabh,

Thanks for writing in and opening a ticket! Mesos native bindings can be difficult to install, and they are not pip-installable. For these reasons, the native bindings are not automatically installed.

You should match the Python bindings you use with the version of Mesos installed in your environment. As Andras mentioned, you can find the relevant "Python Egg" binaries from Mesosphere:

http://open.mesosphere.com/downloads/mesos/

Please let us know if you managed to solve the problem, and happy to answer any other questions you might have.

Alex