If that library has native dependencies you'd need to make sure that the native code is on all boxes and in the path with export SPARK_LIBRARY_PATH=...
On Tue, Sep 9, 2014 at 10:17 AM, ayandas84 <ayanda...@gmail.com> wrote: > We have a small apache spark cluster of 6 computers. We are trying to > solve > a distributed problem which requires solving a optimization problem at each > machine during a spark map operation. > > We decided to use mosek as the solver and I collected an academic license > to > this end. We observed that mosek works fine in a single system. However, > when we prepare a jar file, include the mosek.jar into the library and try > to run the jar in the cluster as a spark job it gives errors. > > java.lang.UnsatisfiedLinkError: no mosekjava7_0 in java.library.path > > Does this problem has any thing to do with the license? We have set the > necessary path variables i n the profile of the user in the master machine > but we are not sure about what changes needs to be made to the other > machines in the cluster. > > We shall be greatly obliged if you please suggest the necessary solution > and > help us out. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Problem-in-running-mosek-in-spark-cluster-java-lang-UnsatisfiedLinkError-no-mosekjava7-0-in-java-lib-tp13799.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >