mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suman Somasundar <suman.somasun...@oracle.com>
Subject IndexOutOfBoundsException in ALS recommendation
Date Mon, 27 Jul 2015 23:09:57 GMT
Hi,

 

I am getting the following error when I try to ALS.

I get this exception at userRatings job after the itemRatings job. 

 

15/07/24 18:11:01 INFO mapreduce.Job: Task Id : attempt_1437779248212_0003_m_000064_6, Status
: FAILED

Error: java.lang.ArrayIndexOutOfBoundsException: -718978944

        at org.apache.hadoop.io.WritableComparator.readInt(WritableComparator.java:211)

        at org.apache.hadoop.io.IntWritable$Comparator.compare(IntWritable.java:91)

        at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.compare(MapTask.java:1265)

        at org.apache.hadoop.util.QuickSort.sortInternal(QuickSort.java:99)

        at org.apache.hadoop.util.QuickSort.sort(QuickSort.java:63)

        at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.sortAndSpill(MapTask.java:1594)

        at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.flush(MapTask.java:1482)

        at org.apache.hadoop.mapred.MapTask$NewOutputCollector.close(MapTask.java:720)

        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:790)

        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)

        at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:169)

        at java.security.AccessController.doPrivileged(Native Method)

        at javax.security.auth.Subject.doAs(Subject.java:415)

        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1640)

        at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:164)

 

 

What I could not figure out is that this exception is from the Hadoop framework, not Mahout.


 

I am running Hadoop 2.6.0 and Mahout 0.9.

 

What is causing this exception?

 

Thanks,
Suman.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message