简体   繁体   中英

Spark in Kryo : “java.lang.StackOverflowErrorat com.esotericsoftware.kryo.util.IdentityObjectIntMap.put”

everyone. I met the bug shown below: 在此处输入图片说明

I noticed that it just refer a map method in scala, I wonder how to solve this problem. Thank you very much~

OK, I will solve my problem by myself. Actually, the reason why the stackoverflow happens is that I use the Mutable.List in my code. However, List has the maximum value of length. While the number of element you want to put into List exceeds the maximum value of List designed length, this bug occurs. So the solution is to check your code and to see whether you have used some data structure which might has its limits in length or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM