spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gayathri Murali <gayathri.m.sof...@gmail.com>
Subject Unable to run Python Unit tests
Date Tue, 22 Mar 2016 03:05:13 GMT
Hi All,

I am trying to run ./python/run-tests on my local master branch. I am
getting the following error. I have run this multiple times before and
never had this issue. Can someone please help?

*Error: Could not find or load main class
org.apache.spark.deploy.SparkSubmit*
*ERROR*

*======================================================================*
*ERROR: setUpClass (pyspark.streaming.tests.BasicOperationTests)*
*----------------------------------------------------------------------*
*Traceback (most recent call last):*
*  File "/Users/gayathri/spark/python/pyspark/streaming/tests.py", line 60,
in setUpClass*
*    conf = SparkConf().set("spark.default.parallelism", 1)*
*  File "/Users/gayathri/spark/python/pyspark/conf.py", line 104, in
__init__*
*    SparkContext._ensure_initialized()*
*  File "/Users/gayathri/spark/python/pyspark/context.py", line 245, in
_ensure_initialized*
*    SparkContext._gateway = gateway or launch_gateway()*
*  File "/Users/gayathri/spark/python/pyspark/java_gateway.py", line 94, in
launch_gateway*
*    raise Exception("Java gateway process exited before sending the driver
its port number")*
*Exception: Java gateway process exited before sending the driver its port
number*

*There are more errors that follow. *


*Thanks*
*Gayathri*

Mime
View raw message