"D:\Program files\Anaconda2\python.exe" C:/Users/PycharmProjects/helloworld/spark1.py SPARK_HOME not in os.environ SPARK_JARS_DIR already set== D:\!spark-1.6.2\jars "set PYTHONHASHSEED=0" "run spark-class2.cmd" ϵͳ�Ҳ���ָ����·���� Failed to find Spark assembly JAR. You need to build Spark before running this program. Traceback (most recent call last): File "C:/Users/PycharmProjects/helloworld/spark1.py", line 70, in conf = SparkConf().setAppName(APP_NAME) # .setMaster("spark://10.120.21.80:8032") File "D:\Program files\Anaconda2\lib\site-packages\pyspark\conf.py", line 104, in __init__ SparkContext._ensure_initialized() File "D:\Program files\Anaconda2\lib\site-packages\pyspark\context.py", line 245, in _ensure_initialized SparkContext._gateway = gateway or launch_gateway() File "D:\Program files\Anaconda2\lib\site-packages\pyspark\java_gateway.py", line 94, in launch_gateway raise Exception("Java gateway process exited before sending the driver its port number") "D:\Program files\Anaconda2\python.exe" C:/Us