带有Spark 2.0.2的java.lang.StackOverflowError

时间:2017-03-22 16:54:47

标签: scala apache-spark spark-graphx

我在Scala项目中使用Spark 2.0.2和GraphX 2.0.2。我正在使用IntelliJ IDEA 2016.3.5。 我有这个错误:

java.lang.StackOverflowError 
        at org.apache.spark.io.LZ4BlockInputStream.read(LZ4BlockInputStream.java:125) 
        at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2606) 
        at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2622)
        at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:3123) 
        at java.io.ObjectInputStream.readHandle(ObjectInputStream.java:1646) 
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1707) 
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1986) 
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535) 
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2231) 
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2155) 
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013) 
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535) 
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2231) 
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2155) 
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013) 
        ... 

0 个答案:

没有答案