[ https://issues.apache.org/jira/browse/SPARK-23131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peigen updated SPARK-23131: --------------------------- Description: When trying to use GeneralizedLinearRegression model and set SparkConf to use KryoSerializer(JavaSerializer is fine) It causes StackOverflowException {quote}Exception in thread "dispatcher-event-loop-34" java.lang.StackOverflowError at java.util.HashMap.hash(HashMap.java:338) at java.util.HashMap.get(HashMap.java:556) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:61) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) {quote} This is very likely to be [https://github.com/EsotericSoftware/kryo/issues/341] Upgrade Kryo to 4.0+ probably could fix this Wish for upgrade Kryo version for spark was: When trying to use GeneralizedLinearRegression model and set SparkConf to use KryoSerializer(JavaSerializer is fine) It causes StackOverflowException {quote} Exception in thread "dispatcher-event-loop-34" java.lang.StackOverflowError at java.util.HashMap.hash(HashMap.java:338) at java.util.HashMap.get(HashMap.java:556) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:61) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) {quote} This is very likely to be https://github.com/EsotericSoftware/kryo/issues/341 Upgrade Kryo to 4.0+ probably could fix this Issue Type: Wish (was: Bug) > Stackoverflow using ML and Kryo serializer > ------------------------------------------ > > Key: SPARK-23131 > URL: https://issues.apache.org/jira/browse/SPARK-23131 > Project: Spark > Issue Type: Wish > Components: ML > Affects Versions: 2.2.0 > Reporter: Peigen > Priority: Minor > > When trying to use GeneralizedLinearRegression model and set SparkConf to use > KryoSerializer(JavaSerializer is fine) > It causes StackOverflowException > {quote}Exception in thread "dispatcher-event-loop-34" > java.lang.StackOverflowError > at java.util.HashMap.hash(HashMap.java:338) > at java.util.HashMap.get(HashMap.java:556) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:61) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > at com.esotericsoftware.kryo.Generics.getConcreteClass(Generics.java:62) > {quote} > This is very likely to be > [https://github.com/EsotericSoftware/kryo/issues/341] > Upgrade Kryo to 4.0+ probably could fix this > > Wish for upgrade Kryo version for spark -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org