Apache Spark Error.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Apache Spark Error.

Ömer Ölmez
I am using Apache Prediction. Prediction addicted to spark. 
I have never worked with Java or Scala.

I'm getting an error and don't know how to fix it. Do you have any opinion on this topic? Full log: https://paste.ubuntu.com/p/zyzP9BGRXt/ My Java version:
openjdk version "1.8.0_265" OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2 ~ 18.04-b01) OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)

OS:
Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic
[ERROR] [Executor] Exception in task 0.0 in stage 605.0 (TID 171)
[ERROR] [SparkUncaughtExceptionHandler] Uncaught exception in thread Thread[Executor task launch worker for task 171,5,main]
[WARN] [TaskSetManager] Lost task 0.0 in stage 605.0 (TID 171, localhost, executor driver): java.lang.StackOverflowError
    at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:3037)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1598)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2366)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2290)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2148)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1647)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2366)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2290)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2148)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1647)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:483)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:441)
    at scala.collection.immutable.List$SerializationProxy.readObject(List.scala:490)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)