Hello everyone

I am trying to run spark on mesos using Tomcat application
(Trying to creating Spark context within the web application)
when running spark driver from the command line it works perfectly and I
can see the executor of spark through the mesos UI , e.g.
 /bin/spark-shell --master mesos://<ip>:5050

but when I try to create the Spark Context through the java code (running
inside tomcat on different machine) I got error regarding the
java.library.path that it missing the mesos lib (*nested exception is
java.lang.UnsatisfiedLinkError: no mesos in java.library.path*)
so, I define the lib as "export MESOS_NATIVE_LIBRARY=/usr/lib/
libmesos-0.19.0.so" and it found the mesos lib
but now I am encounter new issue within the dependency of this lib

*java.lang.UnsatisfiedLinkError: /usr/lib/libmesos-0.19.0.so
<http://libmesos-0.19.0.so>: /usr/lib64/libstdc++.so.6: version
`GLIBCXX_3.4.18' not found (required by /usr/lib/libmesos-0.19.0.so
<http://libmesos-0.19.0.so>)*

I am running on CentOS 6.5

*any help on this issue will be appreciated, *

another Question:
*How can I run tomcat on window machine using mesos?*

*Best regards*

*Eyal Levy*, [email protected]
<https://mail.google.com/mail/?view=cm&fs=1&tf=1&[email protected]>

Reply via email to