[
https://issues.apache.org/jira/browse/SPARK-15720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-15720.
----------------------------------
Resolution: Incomplete
> 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: Improvement
> Components: MLlib
> Affects Versions: 1.6.1
> Environment: Linux
> Reporter: Rohan G Patil
> Priority: Major
> Labels: bulk-closed
>
> 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
> Test with number of vectors greater than 16777215 with size of each vector
> 128 or more.
> there is Integer Overflow happening here. Should be an easy fix.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]