Description
In SPARK-5162 vgrigor reports this:
Now following code cannot work:
aws emr add-steps --cluster-id "j-XYWIXMD234" \
--steps Name=SparkPi,Jar=s3://eu-west-1.elasticmapreduce/libs/script-runner/script-runner.jar,Args=[/home/hadoop/spark/bin/spark-submit,--deploy-mode,cluster,--master,yarn-cluster,--py-files,s3://mybucketat.amazonaws.com/tasks/main.py,main.py,param1],ActionOnFailure=CONTINUE
so we need to support non-local python files on yarn client and cluster mode.
before submitting application to Yarn, we need to download non-local files to local or hdfs path.
or spark.yarn.dist.files need to support other non-local files.
Attachments
Issue Links
- is duplicated by
-
SPARK-7725 --py-files doesn't seem to work in YARN cluster mode
- Resolved
-
SPARK-8017 YARN cluster python --py-files does not work
- Resolved
- relates to
-
SPARK-5162 Python yarn-cluster mode
- Closed
- links to