Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
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
- is duplicated by
-
SPARK-10436 spark-submit overwrites spark.files defaults with the job script filename
- Resolved
- links to