spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhengxiang pan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-19600) ArrayIndexOutOfBoundsException in ALS
Date Tue, 14 Feb 2017 19:29:41 GMT
zhengxiang pan created SPARK-19600:
--------------------------------------

             Summary: ArrayIndexOutOfBoundsException in ALS
                 Key: SPARK-19600
                 URL: https://issues.apache.org/jira/browse/SPARK-19600
             Project: Spark
          Issue Type: Bug
          Components: MLlib
    Affects Versions: 2.0.1
            Reporter: zhengxiang pan
            Priority: Blocker


Understand issue SPARK-3080 closed, but I don't understand yet what cause the issue: memory,
parallelism, negative userID or product ID?

I consistently ran into this issue with different set of training set, can you suggest any
area to look at?

java.lang.ArrayIndexOutOfBoundsException: 221529807
        at org.apache.spark.ml.recommendation.ALS$$anonfun$partitionRatings$1$$anonfun$apply$6.apply(ALS.scala:944)
        at org.apache.spark.ml.recommendation.ALS$$anonfun$partitionRatings$1$$anonfun$apply$6.apply(ALS.scala:940)
        at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:434)
        at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:440)
        at scala.collection.Iterator$JoinIterator.hasNext(Iterator.scala:211)
        at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:200)
        at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:63)
        at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:79)
        at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:47)
        at org.apache.spark.scheduler.Task.run(Task.scala:86)
        at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message