You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by greg huang <de...@gmail.com> on 2016/04/24 08:42:57 UTC

Using netlib-java lib in fat jar issue

Hi there,

   I have included the netlib-java lib in my fat jar, but the spark always
said:

16/04/24 06:11:16 WARN BLAS: Failed to load implementation from:
com.github.fommil.netlib.NativeSystemBLAS
16/04/24 06:11:16 WARN BLAS: Failed to load implementation from:
com.github.fommil.netlib.NativeRefBLAS

  But I have tested according to someone suggested in a standalone jar to using


import com.github.fommil.netlib.BLAS;
BLAS.getInstance().getClass().getName()


 And the output said I have successfully load the BLAS lib:

Apr 24, 2016 6:41:45 AM com.github.fommil.jni.JniLoader liberalLoad

INFO: successfully loaded
/tmp/jniloader8771047099061273094netlib-native_system-linux-x86_64.so

com.github.fommil.netlib.NativeSystemBLAS


Someone have any comments?