javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: no mesos in java.library.path

606 views
Skip to first unread message

Suchisubhra Sinha

unread,
May 6, 2015, 3:37:43 PM5/6/15
to jenkin...@googlegroups.com
I am using mesos 0.22.0 and jenkins mesos plugin (not from source code)... will that work.. I see in  mesos jenkins plugin we have mesos-0.21.1.jar and not 0.22.0  version.
My other  mesos cluster (older version)  working just  fine.

Wondering if jenkins plugin for 0.22..0 is available?

~Suchi

Manivannan

unread,
May 7, 2015, 1:54:24 AM5/7/15
to Suchisubhra Sinha, jenkins-mesos
Have you configured "Mesos native library path" ? 

--
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.
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/3ccc2137-68db-4e45-888e-3df10f5a9ca9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

zhz shi

unread,
Aug 18, 2015, 2:08:56 AM8/18/15
to Jenkins Mesos Plugin, suchi...@gmail.com
Hi Manivanann,

How could I set "Mesos native libraty path" if I launch Jenkins Master by Marathon in docker, do I have to build a docker image with mesos lib compiled based on Jenkins image? Currently I am mapping the libmesos.so from host node to Jenkins master container, but I still get the same error.

Daniel Barker

unread,
Aug 18, 2015, 10:24:25 PM8/18/15
to Jenkins Mesos Plugin
I run my own curated image due to our security requirements, but it is basically the public Jenkins image with mesos installed. That's the easiest way for me. I think I had problems linking in libraries as there are multiple that need to be linked in.

zhz shi

unread,
Aug 19, 2015, 4:09:46 AM8/19/15
to Jenkins Mesos Plugin
Thanks Daniel. I'm now trying to build an image including both jenkins and mesos, hope it works.

Anthony Kerz

unread,
Aug 24, 2015, 12:08:06 AM8/24/15
to Jenkins Mesos Plugin

hi,

trying to set up the jenkins-mesos plugin on a mesosphere/dcos cluster.

here is what i am seeing on one of the mesos-slaves:

core@ip-10-0-0-96 / $ sudo find / -name libmesos*.* -print
/opt/mesosphere/lib/libmesos.la
/opt/mesosphere/lib/libmesos-0.22.1.so
/opt/mesosphere/lib/libmesos.so

i have version 0.8.0 of the plugin installed.

so, i punch in /opt/mesosphere/lib/libmesos.so for the lib path and something like my.mesos.master:1234 for the master,
and clicking the “test-connection” button yields Connected to Mesos successfully, but…

when i click ‘apply’ i get:

javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: no mesos in java.library.path
    at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
    at org.kohsuke.stapler.Stapler.service(Stapler.java:238)

any recommendations how to proceed?

Anthony Kerz

unread,
Aug 24, 2015, 9:13:43 AM8/24/15
to Jenkins Mesos Plugin
doh, i'm running jenkins in a docker container, and while `/opt/mesosphere/lib` exists on the host, it ain't in the container...

now i understand above post from 'zhz shi'...
Reply all
Reply to author
Forward
0 new messages