I am not sure but the reason could be that you are not submitting "fat-jar"
containing all the libs when submitting it to job manager.

When you run it through intellij it takes care of including the libraries.

To create fat jar use maven-shade-plugin.

Let me know if it works.

Thanks,
Arpit

On Mon, May 30, 2016 at 2:41 PM, Debaditya Roy <roydca...@gmail.com> wrote:

> I was trying to run a basic program in java by submitting to the job
> manager in Flink. I have a native library from open CV. When I try to
> submit the job I get "java.lang.UnsatisfiedLinkError: no opencv_java310 in
> java.library.path", however when I run it on Intellij by setting up the
> flink execution environment I get correct results. I have followed some
> solutions from the apache flink support website:
> https://mail-archives.apache.org/mod_mbox/flink-user/201604.mbox/%3CCAO0MGUj_h==sw76-TWF6x8fnT_Vdc84mwu=YLejjn=bg-up...@mail.gmail.com%3E
> and have modified my conf.yaml file accordingly (by pointing env.java.opts:
> -Djava.library.path="/path of Open CV library", but no luck, Maybe my
> question is very basic , but still I am stuck, any help would be highly
> appreciated.
>
>  Thanks :-)
>

Reply via email to