为什么火花提交和火花壳失败,"无法找到星火装配JAR。你需要运行此程序之前建立星火"? [英] Why does spark-submit and spark-shell fail with "Failed to find Spark assembly JAR. You need to build Spark before running this program."?

查看:214
本文介绍了为什么火花提交和火花壳失败,"无法找到星火装配JAR。你需要运行此程序之前建立星火"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行火花提交和我得到
    无法找到星火装配JAR。
    你需要运行此程序之前建造的火花。
当我尝试运行火花壳我得到同样的错误。
我要在这种情况下做的。

I was trying to run spark-submit and I get "Failed to find Spark assembly JAR. You need to build Spark before running this program." When I try to run spark-shell I get the same error. What I have to do in this situation.

推荐答案

您星火包不包括编译星火code。这就是为什么你得到了这些脚本错误消息火花提交火花壳

Your Spark package doesn't include compiled Spark code. That's why you got the error message from these scripts spark-submit and spark-shell.

您已经下载的pre-内置的版本之一的选择封装类型部分。星火下载页面

You have to download one of pre-built version in "Choose a package type" section from the Spark download page.

这篇关于为什么火花提交和火花壳失败,"无法找到星火装配JAR。你需要运行此程序之前建立星火"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆