Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-17566

"--master yarn --deploy-mode cluster" gives "Launching Python applications through spark-submit is currently only supported for local files"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.0
    • None
    • Spark Submit
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zhenhua.xu Zhenhua Xu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: