1、java.lang.StackOverflowError when calling count()
http://apache-spark-user-list.1001560.n3.nabble.com/java-lang-StackOverflowError-when-calling-count-td5649.html
http://www.iteblog.com/archives/1140
We were getting the same problem also. Funny thing our code worked with larger data set and failed for a reduced data set. Anyway we are thinking on passing stacksize override params to jvm may be that can help you.
Please give it a try and let me know.
--conf spark.executor.extraJavaOptions=-Xss8m --conf spark.driver.extraJavaOptions=-Xss8m
taking 8m is kind a overkill for stack size, so you can start with 4m.
Spark record
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327063014&siteId=291194637
Ranking