[ 
https://issues.apache.org/jira/browse/SPARK-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340208#comment-14340208
 ] 

Mike Beyer commented on SPARK-4900:
-----------------------------------

in my opinion there should be no automatic error checking but only hints on 
exception messages and in general MLlib Vector and Matrix doc. Maybe this 
should hint to an utility method (to be put somewhere) which would do such an 
check on vectors and matrix and which can be invoked by someone getting 
exceptions on his data.

> MLlib SingularValueDecomposition ARPACK IllegalStateException 
> --------------------------------------------------------------
>
>                 Key: SPARK-4900
>                 URL: https://issues.apache.org/jira/browse/SPARK-4900
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 1.1.1, 1.2.0, 1.2.1
>         Environment: Ubuntu 1410, Java HotSpot(TM) 64-Bit Server VM (build 
> 25.25-b02, mixed mode)
> spark local mode
>            Reporter: Mike Beyer
>            Assignee: Sean Owen
>             Fix For: 1.3.0
>
>
> java.lang.reflect.InvocationTargetException
>         ...
> Caused by: java.lang.IllegalStateException: ARPACK returns non-zero info = 3 
> Please refer ARPACK user guide for error message.
>         at 
> org.apache.spark.mllib.linalg.EigenValueDecomposition$.symmetricEigs(EigenValueDecomposition.scala:120)
>         at 
> org.apache.spark.mllib.linalg.distributed.RowMatrix.computeSVD(RowMatrix.scala:235)
>         at 
> org.apache.spark.mllib.linalg.distributed.RowMatrix.computeSVD(RowMatrix.scala:171)
>               ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to