当我试图从eclipse将远程spark作业启动到cdh集群上时,作业被终止了,当我看到容器的日志时,我看到下面的错误
Log Type: stderr
Log Upload Time: Wed Apr 05 10:56:13 +0530 2017
Log Length: 87
Error: Could not find or load main class org.apache.spark.deploy.yarn.ExecutorLauncher
Log Type: stdout
Log Upload Time: Wed Apr 05 10:56:13 +0530 2017
Log Length: 0
请帮我解决这个问题。
提前谢谢
1条答案
按热度按时间sgtfey8w1#
我通过在spark上下文创建代码中添加yarn的类路径来解决这个问题