goutam tadi
unread,May 22, 2013, 7:51:03 AM5/22/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spark...@googlegroups.com
Hi All,
Please help me solving this...
My spark-env.sh is:
export MESOS_NATIVE_LIBRARY=/usr/local/lib/libmesos.so
export SCALA_HOME=/root/scala-2.9.2
export MESOS_HOME=/root/mesos-0.10.0
I have recently updated to mesos-0.10.0 after uninstalling and deleting the mesos-0.9.0. But I could not find a way to resolve the following issue when trying to run on a cluster
Failed to load native Mesos library at /usr/local/lib/libmesos.so
Exception in thread "main" java.lang.UnsatisfiedLinkError: Java expecting version 0.9.0, found version 0.10.0
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1059)
at org.apache.mesos.MesosNativeLibrary.load(MesosNativeLibrary.java:38)
at spark.SparkContext.<init>(SparkContext.scala:176)
at spark.streaming.StreamingContext$.createNewSparkContext(StreamingContext.scala:508)
at spark.streaming.StreamingContext.<init>(StreamingContext.scala:64)
at spark.streaming.examples.Weather1$.main(Weather1.scala:17)
at spark.streaming.examples.Weather1.main(Weather1.scala)
Thanks in advance,
Goutam