如何设置星火在Windows上

如何设置星火在Windows上

本文介绍了如何设置星火在Windows上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图安装Apache的星火在Windows上。

I am trying to setup Apache Spark on Windows.

搜索了一下之后,我明白,独立模式是我想要的。
其中二进制文件做我下载,以在Windows中运行Apache的火花?我看到Hadoop和CDH分布在火花下载页面。

After searching a bit, I understand that the standalone mode is what i want.Which binaries do i download in order to run Apache spark in windows? I see distributions with hadoop and cdh at the spark download page.

我没有在网络这个引用。一步一步的指导,这是非常AP preciated。

I don't have references in web to this. A step by step guide to this is highly appreciated.

推荐答案

我发现在Windows上最简单的解决方法是从源代码来构建。​​

I found the easiest solution on Windows is to build from source.

您可以pretty多少按照本指南:http://spark.apache.org/docs/latest/building-spark.html

You can pretty much follow this guide: http://spark.apache.org/docs/latest/building-spark.html

下载并安装Maven,并设置 MAVEN_OPTS 来在指南中指定的值。

Download and install Maven, and set MAVEN_OPTS to the value specified in the guide.

但如果你只是玩星火左右,而实际上并不需要它在Windows上你自己的机器运行的是Windows的任何其他原因而运行,我强烈建议你在Linux虚拟机上安装星火。最简单的方法来获得可能是下载由Cloudera的或Hortonworks取得现成的图像,或者使用星火的捆绑版本,或从源代码或编译的二进制文件,你可以从火花网站获取安装你自己的。

But if you're just playing around with Spark, and don't actually need it to run on Windows for any other reason that your own machine is running Windows, I'd strongly suggest you install Spark on a linux virtual machine. The simplest way to get started probably is to download the ready-made images made by Cloudera or Hortonworks, and either use the bundled version of Spark, or install your own from source or the compiled binaries you can get from the spark website.

这篇关于如何设置星火在Windows上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 11:42