[英]Running Spark-Shell on Windows
I have downloaded spark, sbt, scala, and git onto my Windows computer.我已将 spark、sbt、scala 和 git 下载到我的 ZAEA23489CE3AA9B6406EBB28E0CDA43Z 计算机上。 When I try and run spark-shell in my command prompt, I get "Failed to find Spark assembly JAR. You need to build Spark with sbt\sbt assembly before running this program."
当我尝试在命令提示符下运行 spark-shell 时,我得到“无法找到 Spark 程序集 JAR。在运行此程序之前,您需要使用 sbt\sbt 程序集构建 Spark。”
I tried to follow this guide: https://x86x64.wordpress.com/2015/04/29/installing-spark-on-windows/ ,but I don't have a build subfolder so I am not sure if that is the problem.我尝试遵循本指南: https://x86x64.wordpress.com/2015/04/29/installing-spark-on-windows/ ,但我没有构建子文件夹,所以我不确定这是否是问题。
Any help would be appreciated.任何帮助,将不胜感激。
That's an old guide for spark 1.3.这是 spark 1.3 的旧指南。
Please use this guide to set up spark on Windows.请使用本指南在 Windows 上设置 spark。
http://www.ics.uci.edu/~shantas/Install_Spark_on_Windows10.pdf http://www.ics.uci.edu/~shantas/Install_Spark_on_Windows10.pdf
This guide uses Maven and you are going to use sbt but nevertheless you will be able to execute spark-shell with this guide.本指南使用 Maven,您将使用 sbt,但您仍然可以使用本指南执行 spark-shell。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.