在Windows 8.1空空集群时火花EC2无法识别集群、火花、无法识别、Windows

2023-09-11 09:26:14 作者:可爱的小怪兽ヾ

我在火花初学者。我想在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