diff options
author | Sean Owen <sowen@cloudera.com> | 2015-10-04 09:31:52 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-10-04 09:31:52 +0100 |
commit | 82bbc2a5f2c74604db59060cb5e462a057398ddd (patch) | |
tree | 81d81e84cefa3eed3019fd282aff4317803503ee /docs/sql-programming-guide.md | |
parent | 721e8b5f35b230ff426c1757a9bdc1399fb19afa (diff) | |
download | spark-82bbc2a5f2c74604db59060cb5e462a057398ddd.tar.gz spark-82bbc2a5f2c74604db59060cb5e462a057398ddd.tar.bz2 spark-82bbc2a5f2c74604db59060cb5e462a057398ddd.zip |
[SPARK-9570] [DOCS] Consistent recommendation for submitting spark apps to YARN, -master yarn --deploy-mode x vs -master yarn-x'.
Recommend `--master yarn --deploy-mode {cluster,client}` consistently in docs.
Follow-on to https://github.com/apache/spark/pull/8385
CC nssalian
Author: Sean Owen <sowen@cloudera.com>
Closes #8968 from srowen/SPARK-9570.
Diffstat (limited to 'docs/sql-programming-guide.md')
-rw-r--r-- | docs/sql-programming-guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md index a1cbc7de97..30206c6f6f 100644 --- a/docs/sql-programming-guide.md +++ b/docs/sql-programming-guide.md @@ -1585,7 +1585,7 @@ on all of the worker nodes, as they will need access to the Hive serialization a (SerDes) in order to access data stored in Hive. Configuration of Hive is done by placing your `hive-site.xml` file in `conf/`. Please note when running -the query on a YARN cluster (`yarn-cluster` mode), the `datanucleus` jars under the `lib_managed/jars` directory +the query on a YARN cluster (`cluster` mode), the `datanucleus` jars under the `lib_managed/jars` directory and `hive-site.xml` under `conf/` directory need to be available on the driver and all executors launched by the YARN cluster. The convenient way to do this is adding them through the `--jars` option and `--file` option of the `spark-submit` command. |