Re: .so linkage error in Cluster

2016-07-27 Thread Debaditya Roy
Hello users, I rebuilt the project and now on doing mvn clean package i have got two jar files and I can run with the fat jar in the local jvm properly. However when executing in the cluster I get error as follows: Source: Custom Source -> Flat Map -> Sink: Unnamed(1/1) switched to FAILED java.la

Re: .so linkage error in Cluster

2016-07-26 Thread Debaditya Roy
Hi, For the error I get this when I run the .jar made by mvn clean package java.lang.NoClassDefFoundError: org/bytedeco/javacpp/opencv_core$Mat at loc.video.Job.main(Job.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.inv

Re: .so linkage error in Cluster

2016-07-26 Thread Ufuk Celebi
Out of curiosity I've tried this locally by adding the following dependencies to my Maven project: org.bytedeco javacpp 1.2.2 org.bytedeco.javacpp-presets opencv 3.1.0-1.2 With this, running mvn clean package works as expected. On Tue, Jul 26, 2016 at 7:09 PM, Ufuk Celebi

Re: .so linkage error in Cluster

2016-07-26 Thread Ufuk Celebi
What error message to you get from Maven? On Tue, Jul 26, 2016 at 4:39 PM, Debaditya Roy wrote: > Hello, > > I am using the jar builder from IntelliJ IDE (the mvn one was causing > problems). After that I executed it successfully locally. But in remote it > is causing problem. > > Warm Regards, >

Re: .so linkage error in Cluster

2016-07-26 Thread Debaditya Roy
Hello, I am using the jar builder from IntelliJ IDE (the mvn one was causing problems). After that I executed it successfully locally. But in remote it is causing problem. Warm Regards, Debaditya On Tue, Jul 26, 2016 at 4:36 PM, Ufuk Celebi wrote: > Yes, the BlobCache on each TaskManager node

Re: .so linkage error in Cluster

2016-07-26 Thread Ufuk Celebi
Yes, the BlobCache on each TaskManager node should fetch it from the JobManager. How are you packaging your JAR? On Tue, Jul 26, 2016 at 4:32 PM, Debaditya Roy wrote: > Hello users, > > I am having a problem while running my flink program in a cluster. It gives > me an error that it is unable to

.so linkage error in Cluster

2016-07-26 Thread Debaditya Roy
Hello users, I am having a problem while running my flink program in a cluster. It gives me an error that it is unable to find an .so file in a tmp directory. Caused by: java.lang.UnsatisfiedLinkError: no jniopencv_core in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.jav