在Windows 8.1空空集群时火花EC2无法识别 [英] spark-ec2 not recognized when lauching cluster on windows 8.1

查看:246
本文介绍了在Windows 8.1空空集群时火花EC2无法识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在火花初学者。我想在Amazon EC2上运行的火花,但我的系统无法识别火花EC2或./spark-ec2。它说:火花EC2不被识别为一个内部或外部命令。

I'm a complete beginner on spark. I'm trying to run spark on Amazon EC2, but my system does not recognize "spark-ec2" or "./spark-ec2". It says "spark-ec2" is not recognized as an internal or external command.

我跟着指令这里推出集群。我想用Scala的,我怎么做工作?

I followed the instruction here to launch a cluster. I would like to use Scala, how do I make it work?

推荐答案

添加PYTHON PATH环境变量,博托。 PYTHONPATH =$ {SPARK_EC2_DIR} /third_party/boto-2.4.1.zip/boto-2.4.1:$PYTHONPATH 并执行python脚本

Add PYTHON PATH environment variable with boto. PYTHONPATH="${SPARK_EC2_DIR}/third_party/boto-2.4.1.zip/boto-2.4.1:$PYTHONPATH" And execute the python script

这篇关于在Windows 8.1空空集群时火花EC2无法识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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