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

spark.files in properties file is not distributed to driver in yarn-cluster mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • Spark Core, Spark Submit, YARN
    • None

    Description

      I use the following command to run SparkPi example. And in this property file, define spark.files. It turns out that in yarn-cluster mode this README.md is only distirbuted to executor but not in driver.
      content of properties file

      spark.files=/Users/jzhang/github/spark/README.md
      

      launch command

      bin/spark-submit --master yarn-cluster --properties-file a.properties --class org.apache.spark.examples.SparkPi examples/target/original-spark-examples_2.11-2.0.0-SNAPSHOT.jar
      

      Attachments

        Issue Links

          Activity

            People

              zjffdu Jeff Zhang
              zjffdu Jeff Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: