spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davies Liu <dav...@databricks.com>
Subject Re: cannot submit python files on EC2 cluster
Date Thu, 04 Dec 2014 07:57:24 GMT
On Wed, Dec 3, 2014 at 8:17 PM, chocjy <jiyanyang12@gmail.com> wrote:
> Hi,
>
> I am using spark with version number 1.1.0 on an EC2 cluster. After I
> submitted the job, it returned an error saying that a python module cannot
> be loaded due to missing files. I am using the same command that used to
> work on an private cluster before for submitting jobs and all the source
> files are located in the current working directory. I also tried to add the
> current path to $PYTHONPATH but it didn't help.
>
> In the outputs, there is nothing coming after the line
> "spark.submit.pyFiles=". The command I used is
> spark-submit --executor-memory 7G --driver-memory 8G l2_exp.py --py-files
> a.py,b.py,c.py

--py-files should be placed before your script l2_exp.py, or it will
became arguments of l2_exp.py.

> Anyone knows how to fix this?
>
>
>
>
>
> --
> View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/cannot-submit-python-files-on-EC2-cluster-tp20320.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message