You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2014/09/04 18:25:52 UTC
[jira] [Commented] (SPARK-3403) NaiveBayes crashes with blas/lapack
native libraries for breeze (netlib-java)
[ https://issues.apache.org/jira/browse/SPARK-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121516#comment-14121516 ]
Xiangrui Meng commented on SPARK-3403:
--------------------------------------
Did you test the setup of netlib-java with OpenBLAS? I hit a JNI issue (a year ago, maybe fixed) with netlib-java and multithreading OpenBLAS. Could you try compiling OpenBLAS with `USE_THREAD=0`? If it still doesn't work, please attach the driver/executor logs. Thanks!
> NaiveBayes crashes with blas/lapack native libraries for breeze (netlib-java)
> -----------------------------------------------------------------------------
>
> Key: SPARK-3403
> URL: https://issues.apache.org/jira/browse/SPARK-3403
> Project: Spark
> Issue Type: Bug
> Components: MLlib
> Affects Versions: 1.0.2
> Environment: Setup: Windows 7, x64 libraries for netlib-java (as described on https://github.com/fommil/netlib-java). I used OpenBlas x64 and MinGW64 precompiled dlls.
> Reporter: Alexander Ulanov
> Fix For: 1.1.0
>
> Attachments: NativeNN.scala
>
>
> Code:
> val model = NaiveBayes.train(train)
> val predictionAndLabels = test.map { point =>
> val score = model.predict(point.features)
> (score, point.label)
> }
> predictionAndLabels.foreach(println)
> Result:
> program crashes with: "Process finished with exit code -1073741819 (0xC0000005)" after displaying the first prediction
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org