aboutsummaryrefslogtreecommitdiff
path: root/docs/sql-programming-guide.md
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2014-08-18 10:52:20 -0700
committerMichael Armbrust <michael@databricks.com>2014-08-18 10:52:20 -0700
commit6bca8898a1aa4ca7161492229bac1748b3da2ad7 (patch)
tree0b6ae9b8512608a5c207c839f62d597288d9f2cf /docs/sql-programming-guide.md
parent4bf3de71074053af94f077c99e9c65a1962739e1 (diff)
downloadspark-6bca8898a1aa4ca7161492229bac1748b3da2ad7.tar.gz
spark-6bca8898a1aa4ca7161492229bac1748b3da2ad7.tar.bz2
spark-6bca8898a1aa4ca7161492229bac1748b3da2ad7.zip
SPARK-3025 [SQL]: Allow JDBC clients to set a fair scheduler pool
This definitely needs review as I am not familiar with this part of Spark. I tested this locally and it did seem to work. Author: Patrick Wendell <pwendell@gmail.com> Closes #1937 from pwendell/scheduler and squashes the following commits: b858e33 [Patrick Wendell] SPARK-3025: Allow JDBC clients to set a fair scheduler pool
Diffstat (limited to 'docs/sql-programming-guide.md')
-rw-r--r--docs/sql-programming-guide.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index cd6543945c..34accade36 100644
--- a/docs/sql-programming-guide.md
+++ b/docs/sql-programming-guide.md
@@ -605,6 +605,11 @@ Configuration of Hive is done by placing your `hive-site.xml` file in `conf/`.
You may also use the beeline script comes with Hive.
+To set a [Fair Scheduler](job-scheduling.html#fair-scheduler-pools) pool for a JDBC client session,
+users can set the `spark.sql.thriftserver.scheduler.pool` variable:
+
+ SET spark.sql.thriftserver.scheduler.pool=accounting;
+
### Migration Guide for Shark Users
#### Reducer number