diff options
author | Raymond Liu <raymond.liu@intel.com> | 2014-01-06 16:12:25 +0800 |
---|---|---|
committer | Raymond Liu <raymond.liu@intel.com> | 2014-01-07 10:24:11 +0800 |
commit | 67af8031368c4a3558aeb46c290b7b7a09516539 (patch) | |
tree | c592f30cfa0ba7abd610c28df0728eeead2baf48 /docs/running-on-yarn.md | |
parent | da4694a0d85433832fda1dd917fc698a08e65907 (diff) | |
download | spark-67af8031368c4a3558aeb46c290b7b7a09516539.tar.gz spark-67af8031368c4a3558aeb46c290b7b7a09516539.tar.bz2 spark-67af8031368c4a3558aeb46c290b7b7a09516539.zip |
Export --file for YarnClient mode to support sending extra files to worker on yarn cluster
Diffstat (limited to 'docs/running-on-yarn.md')
-rw-r--r-- | docs/running-on-yarn.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/running-on-yarn.md b/docs/running-on-yarn.md index a35e003cdc..da5a502fd5 100644 --- a/docs/running-on-yarn.md +++ b/docs/running-on-yarn.md @@ -114,6 +114,8 @@ For example: SPARK_YARN_APP_JAR=examples/target/scala-{{site.SCALA_VERSION}}/spark-examples-assembly-{{site.SPARK_VERSION}}.jar \ MASTER=yarn-client ./bin/spark-shell +You can also send extra files to yarn cluster for worker to use by exporting SPARK_YARN_DIST_FILES=file1,file2... etc. + # Building Spark for Hadoop/YARN 2.2.x See [Building Spark with Maven](building-with-maven.html) for instructions on how to build Spark using the Maven process. |