You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Or (JIRA)" <ji...@apache.org> on 2015/06/04 22:54:38 UTC

[jira] [Updated] (SPARK-5479) PySpark on yarn mode need to support non-local python files

     [ https://issues.apache.org/jira/browse/SPARK-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Or updated SPARK-5479:
-----------------------------
    Affects Version/s: 1.4.0

> PySpark on yarn mode need to support non-local python files
> -----------------------------------------------------------
>
>                 Key: SPARK-5479
>                 URL: https://issues.apache.org/jira/browse/SPARK-5479
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 1.4.0
>            Reporter: Lianhui Wang
>
>  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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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