org.apache.spark.SparkException: Job aborted due to stage failure: Task 25 in stage 40.0 failed 4 times, most recent failure: Lost task 25.3 in stage 40.0 (TID 3250, blub.bla): java.lang.ArrayIndexOutOfBoundsException: -1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Apache's JIRA Issue Tracker by Stephane Maarek, 1 year ago
Job aborted due to stage failure: Task 25 in stage 40.0 failed 4 times, most recent failure: Lost task 25.3 in stage 40.0 (TID 3250, blub.bla): java.lang.ArrayIndexOutOfBoundsException: -1
via Apache's JIRA Issue Tracker by Stephane Maarek, 1 year ago
Job aborted due to stage failure: Task 25 in stage 40.0 failed 4 times, most recent failure: Lost task 25.3 in stage 40.0 (TID 3250, blub.bla): java.lang.ArrayIndexOutOfBoundsException: -1
via Stack Overflow by Andy Long
, 1 month ago
Job aborted due to stage failure: Task 12 in stage 2036.0 failed 4 times, most recent failure: Lost task 12.3 in stage 2036.0 (TID 106840, cl-bigdata5.hosting.dbg.internal): java.lang.ArrayIndexOutOfBoundsException: -1
org.apache.spark.SparkException: Job aborted due to stage failure: Task 25 in stage 40.0 failed 4 times, most recent failure: Lost task 25.3 in stage 40.0 (TID 3250, blub.bla): java.lang.ArrayIndexOutOfBoundsException: -1
at org.apache.spark.graphx.util.collection.GraphXPrimitiveKeyOpenHashMap$mcJI$sp.apply$mcJI$sp(GraphXPrimitiveKeyOpenHashMap.scala:64)
at org.apache.spark.graphx.impl.EdgePartition.updateVertices(EdgePartition.scala:91)
at org.apache.spark.graphx.impl.ReplicatedVertexView$$anonfun$2$$anonfun$apply$1.apply(ReplicatedVertexView.scala:75)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:210)
at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:63)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
at org.apache.spark.scheduler.Task.run(Task.scala:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.