Mesos native lib

175 views
Skip to first unread message

ale...@wix.com

unread,
Dec 29, 2016, 8:52:15 AM12/29/16
to Jenkins Mesos Plugin
Hi
My c++ kung fu is little bit rusty.
I need to setup native mesos libs for jenkins.
Jenkins runs as docker container.
So ive added build procedure to Dockerfile.And it takes forever.
Which files should i copy to avoid all this pain with make file?Whole src folder is 2.1 GB.
Is there precompiled binaries for mesos native?
Why is it so painful? Why not sudo apt-get mesos-dev or something?
Thanks


Sunil Shah

unread,
Dec 29, 2016, 10:54:51 AM12/29/16
to ale...@wix.com, Jenkins Mesos Plugin, Kapil Arya, Colin Creeden
Hi there! 

We've actually produced a binary artifact for libmesos that you can ADD into your Docker image. I believe the intention is to produce these with every version of DC/OS. Right now we have an artifact for DC/OS 1.8.7 which is compatible with Mesos 1.0.2: http://downloads.mesosphere.com/libmesos-bundle/libmesos-bundle-1.8.7-1.0.2.tar.gz.

We'll be producing these with each DC/OS release from now on, which should roughly track Mesos versions.

You need to set the two environment variables below, replacing $MESOS_SANDBOX with the path to the exploded tarball (the example assumes you are using the Mesos fetcher to pull this tarball down into the sandbox):
export LD_LIBRARY_PATH=$MESOS_SANDBOX/libmesos-bundle/lib
export MESOS_NATIVE_JAVA_LIBRARY=$MESOS_SANDBOX/libmesos-bundle/lib/libmesos-1.0.1.so

Hope this helps,

Sunil





--
You received this message because you are subscribed to the Google Groups "Jenkins Mesos Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins-mesos+unsubscribe@googlegroups.com.
To post to this group, send email to jenkin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkins-mesos/591d4929-47cb-490f-a1bf-bf1f60d98ef4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ale...@wix.com

unread,
Jan 1, 2017, 12:03:28 PM1/1/17
to Jenkins Mesos Plugin, ale...@wix.com, ka...@mesosphere.io, co...@mesosphere.io
Hi 
Thanks for your reponse.
Ive downloaded the artifact and ive set environment variables as you described.
I can load libmesos.so but the OS as a whole is corrupted now. 
If i set LD_LIBRARY_PATH , curl , apt-get and others stop working complaining bad dependency in libraries. 
Ive tried to move all libraries from artifact to /usr/lib  folder, no luck, it has problem with very old version of lubcurl.
Im running Jenkins in docker from this https://hub.docker.com/_/jenkins/ image.
How do i solve it?

On Thursday, December 29, 2016 at 5:54:51 PM UTC+2, Sunil Shah wrote:
Hi there! 

We've actually produced a binary artifact for libmesos that you can ADD into your Docker image. I believe the intention is to produce these with every version of DC/OS. Right now we have an artifact for DC/OS 1.8.7 which is compatible with Mesos 1.0.2: http://downloads.mesosphere.com/libmesos-bundle/libmesos-bundle-1.8.7-1.0.2.tar.gz.

We'll be producing these with each DC/OS release from now on, which should roughly track Mesos versions.

You need to set the two environment variables below, replacing $MESOS_SANDBOX with the path to the exploded tarball (the example assumes you are using the Mesos fetcher to pull this tarball down into the sandbox):
export LD_LIBRARY_PATH=$MESOS_SANDBOX/libmesos-bundle/lib
export MESOS_NATIVE_JAVA_LIBRARY=$MESOS_SANDBOX/libmesos-bundle/lib/libmesos-1.0.1.so

Hope this helps,

Sunil




On Thu, Dec 29, 2016 at 1:52 PM, alexshe via Jenkins Mesos Plugin <jenkin...@googlegroups.com> wrote:
Hi
My c++ kung fu is little bit rusty.
I need to setup native mesos libs for jenkins.
Jenkins runs as docker container.
So ive added build procedure to Dockerfile.And it takes forever.
Which files should i copy to avoid all this pain with make file?Whole src folder is 2.1 GB.
Is there precompiled binaries for mesos native?
Why is it so painful? Why not sudo apt-get mesos-dev or something?
Thanks


--
You received this message because you are subscribed to the Google Groups "Jenkins Mesos Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins-meso...@googlegroups.com.

anhi...@opendns.com

unread,
Apr 20, 2018, 3:37:45 PM4/20/18
to Jenkins Mesos Plugin
This still seems to be a problem for me and also seems a problem with other mesos products e.g spark - https://github.com/mesosphere/spark-build/issues/267
Reply all
Reply to author
Forward
0 new messages