Hey Felipe,

I haven't tried to run Flink on Mesos, but I guess you can try exporting
those ENV variables so that Flink can see them. Alternatively you can try
something like

*LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/felipe/workspace-vsc/mesos/build/src/.libs/
./bin/mesos-appmaster.sh*

If the problem persists, please provide detailed stack traces/error
messages which should be found in log files.

On Wed, Sep 18, 2019 at 12:34 AM Felipe Gutierrez <
felipe.o.gutier...@gmail.com> wrote:

> Hi,
>
> I am compiling mesos from source code and trying to execute Flink on it.
> For some reason I am having the error that "Failed to load native Mesos
> library from
> /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib".
> I searched on internet and everybody is saying to load the library paths
> like I did below. But the error still remains.
>
> I am able to deploy a dummy task (infinit loop) on mesos and it is running
> all right.
>
>
> flink@cow-11:~/flink-1.9.0$ export
> MESOS_NATIVE_JAVA_LIBRARY="/home/felipe/workspace-vsc/mesos/build/src/.libs/libmesos.so"
> flink@cow-11:~/flink-1.9.0$
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/felipe/workspace-vsc/mesos/build/src/.libs/
> flink@cow-11:~/flink-1.9.0$
> PATH=$PATH:/home/felipe/workspace-vsc/mesos/build/bin/
>
> flink-1.9.0$ sudo ./bin/mesos-appmaster.sh
> Failed to load native Mesos library from
> /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
>
> Thanks,
> Felipe
>
> *--*
> *-- Felipe Gutierrez*
>
> *-- skype: felipe.o.gutierrez*
> *--* *https://felipeogutierrez.blogspot.com
> <https://felipeogutierrez.blogspot.com>*
>


-- 
Best regards!
Rui Li

Reply via email to