spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bearrito <>
Subject ArrayIndexOutOfBoundsException in ALS.implicit
Date Fri, 28 Mar 2014 03:38:47 GMT
Usage of negative product id's causes the above exception.

The cause is the use of the product id's as a mechanism to index into the
the in and out block structures.

Specifically on 9.0 it occurs at

It seems reasonable to expect that product id's are positive, if a bit
opinionated.  I ran across this because the hash function I was using on my
product id's includes the negatives in it's range.

View this message in context:
Sent from the Apache Spark User List mailing list archive at

View raw message