环境:spark-2.4.8+CDH-6.3.2+scala-1.11.12
报错信息:
Application application_1669708409043_0014 failed 2 times due to AM Container for appattempt_1669708409043_0014_000002 exited with exitCode: 1Failing this attempt.Diagnostics: [2022-11-29 18:01:11.661]Exception from container-launch.Container id: container_1669708409043_0014_02_000001Exit code: 1[2022-11-29 18:01:11.663]Container exited with a non-zero exit code 1. Error file: Last 4096 bytes :Last 4096 bytes of stderr :Error: Could not find or load main class org.apache.spark.deploy.yarn.ExecutorLauncher[2022-11-29 18:01:11.663]Container exited with a non-zero exit code 1. Error file: Last 4096 bytes :Last 4096 bytes of stderr :Error: Could not find or load main class org.apache.spark.deploy.yarn.ExecutorLauncher
原因:路径jar包没有识别读取到
解决办法:spark配置文件f 中的spark.yarn.jars=路径找不到,检查hdfs或本地路径是否正确。注意:路径结尾加*。
本文发布于:2024-01-28 06:51:32,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/17063958965586.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |