我正在运行windows 8,希望启动spark群集。我用的是this tutorial。它不是用windowscli运行的,所以我尝试安装并使用cygwin。这样,我就可以更改环境变量并运行ec2脚本,但是我得到了错误:
ERROR: The identity file must be accessible only by you.
You can fix this with: chmod 400 "SpakPlaygroundKeyPair.pem"
所以我被困在这里了。我在This Question中看到有人建议直接运行python文件,这实际上是我想要做的,但我不确定如何运行。e、 g.运行脚本时,必须指定如下内容:
^{pr2}$你如何告诉python脚本呢?在
只需运行建议的修复程序;如下所示:
这应该只授予您对pem文件的读取权限。在
我在windows 10上遇到了相同的问题。幸运的是,文件权限要求被编码到spark_ec2.py脚本中,而不是AWS python API的基本限制。在
最后,我在spark_ec2.py脚本中注释了以下几行:
相关问题 更多 >
编程相关推荐