独立Spark群集上的Gateway Server错误

时间:2015-03-11 18:45:36

标签: hadoop apache-spark

我最近在购买" Learning Spark"后,以独立模式将Apache Spark 1.2.1(带有hadoop24的二进制文件)安装到Windows XP(sp3)计算机上。当我启动pyspark shell时,我遇到了以下输出:

C:\spark\spark-1.2.1-bin-hadoop2.4\bin>pyspark.cmd
Running python with PYTHONPATH=C:\spark\spark-1.2.1-bin-hadoop2.4\bin\..\python\
lib\py4j-0.8.2.1-src.zip;C:\spark\spark-1.2.1-bin-hadoop2.4\bin\..\python;
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
find: version: No such file or directory
else was unexpected at this time.
Traceback (most recent call last):
  File "C:\spark\spark-1.2.1-bin-hadoop2.4\bin\..\python\pyspark\shell.py", line
 45, in <module>
    sc = SparkContext(appName="PySparkShell", pyFiles=add_files)
  File "C:\spark\spark-1.2.1-bin-hadoop2.4\python\pyspark\context.py", line 102,
 in __init__
    SparkContext._ensure_initialized(self, gateway=gateway)
  File "C:\spark\spark-1.2.1-bin-hadoop2.4\python\pyspark\context.py", line 212,
 in _ensure_initialized
    SparkContext._gateway = gateway or launch_gateway()
  File "C:\spark\spark-1.2.1-bin-hadoop2.4\python\pyspark\java_gateway.py", line
 73, in launch_gateway
    raise Exception(error_msg)
Exception: Launching GatewayServer failed with exit code 255!
Warning: Expected GatewayServer to output a port, but found no output.

shell似乎开始了,即显示了chevon提示符(&gt;&gt;&gt;),但上面的输出关注我,我想解决它。任何有用的反馈将不胜感激。感谢。

0 个答案:

没有答案