You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Saisai Shao (JIRA)" <ji...@apache.org> on 2016/09/18 03:22:20 UTC

[jira] [Closed] (SPARK-17566) "--master yarn --deploy-mode cluster" gives "Launching Python applications through spark-submit is currently only supported for local files"

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

Saisai Shao closed SPARK-17566.
-------------------------------
    Resolution: Duplicate

> "--master yarn --deploy-mode cluster" gives "Launching Python applications through spark-submit is currently only supported for local files"
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-17566
>                 URL: https://issues.apache.org/jira/browse/SPARK-17566
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Submit
>    Affects Versions: 2.0.0
>            Reporter: Zhenhua Xu
>
> In Spark 1.6, the following command runs fine with both primary and additional python files in hdfs.
> /bin/spark-submit --py-files hdfs:///tmp/base.py --master yarn-cluster hdfs:///tmp/pi.py
> In Spark 2.0.0, the following command fails:
> /bin/spark-submit --py-files hdfs:///tmp/base.py --master yarn --deploy-mode cluster hdfs:///tmp/pi.py
> Error:
> Launching Python applications through spark-submit is currently only supported for local files: hdfs:///tmp/base.py



--
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