Exception in thread “main“ java.lang.*Error ——Spark栈溢出解决方案
程序员文章站
2022-07-15 14:58:42
...
Exception in thread "main" java.lang.*Error
at java.util.regex.Pattern$5.isSatisfiedBy(Pattern.java:5251)
at java.util.regex.Pattern$5.isSatisfiedBy(Pattern.java:5251)
at java.util.regex.Pattern$5.isSatisfiedBy(Pattern.java:5251)
at java.util.regex.Pattern$5.isSatisfiedBy(Pattern.java:5251)
at java.util.regex.Pattern$5.isSatisfiedBy(Pattern.java:5251)
at java.util.regex.Pattern$5.isSatisfiedBy(Pattern.java:5251)
这是spark栈溢出问题 解决方案:
进入spark的conf目录:cd /opt/soft/spark234/conf/
添加如下配置:spark.driver.extraJavaOptions="-Xss30M"
重启spark 再次运行即可。