amazon web services - Spark with OpenBLAS on EMR -


i keep getting infamous warning when trying run mllib als algorithm in spark 2.1.0 on emr instance:

warn blas: failed load implementation from: com.github.fommil.netlib.nativesystemblas warn blas: failed load implementation from: com.github.fommil.netlib.nativerefblas 

i managed resolve issue on local ubuntu machine rebuilding spark include netlib-java -pnetlib-lgpl flag, there way avoid rebuilding default emr spark build? i'm trying circumvent building fat jar sbt-assembly, adding following dependency:

librarydependencies += "com.github.fommil.netlib" % "all" % "1.1.2"

although assembly successful, blas warnings still don't go away when running spark-submit. have openblas , lapack installed on emr.

okay seems impossible fat jar, built custom distribution of spark on local machine follows:

export maven_opts="-xmx2g -xx:reservedcodecachesize=512m" ./dev/make-distribution.sh --name spark --tgz -phadoop-2.7 -phive -phive-thriftserver -pnetlib-lgpl -pkinesis-asl -pspark-ganglia-lgpl 

and replaced /usr/lib/spark directory on emr build. did trick.


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -