You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Rohan G Patil (JIRA)" <ji...@apache.org> on 2016/06/01 22:52:59 UTC

[jira] [Created] (SPARK-15720) MLLIB Word2Vec loading large number of vectors in the model results in java.lang.NegativeArraySizeException

Rohan G Patil created SPARK-15720:
-------------------------------------

             Summary: MLLIB Word2Vec loading large number of vectors in the model results in java.lang.NegativeArraySizeException
                 Key: SPARK-15720
                 URL: https://issues.apache.org/jira/browse/SPARK-15720
             Project: Spark
          Issue Type: Bug
          Components: MLlib
    Affects Versions: 1.6.1
         Environment: Linux
            Reporter: Rohan G Patil


While loading a large number of pre-trained vectors into Spark MLLIB's Word2Vec model, will result in java.lang.NegativeArraySizeException.

Code - https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/feature/Word2Vec.scala#L597

there is Integer Overflow happening here. Should be an easy fix.



--
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