From 2864a1b64fca7980bab4f2e42fc8cbf6522adb37 Mon Sep 17 00:00:00 2001 From: hyukjinkwon Date: Mon, 16 Jul 2018 10:01:27 +0800 Subject: [PATCH] Documentation Add thrift scheduling pool config to scheduling docs --- docs/job-scheduling.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/job-scheduling.md b/docs/job-scheduling.md index da90342406c84..2316f175676ee 100644 --- a/docs/job-scheduling.md +++ b/docs/job-scheduling.md @@ -264,3 +264,11 @@ within it for the various settings. For example: A full example is also available in `conf/fairscheduler.xml.template`. Note that any pools not configured in the XML file will simply get default values for all settings (scheduling mode FIFO, weight 1, and minShare 0). + +## Scheduling using JDBC Connections +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: + +{% highlight SQL %} +SET spark.sql.thriftserver.scheduler.pool=accounting; +{% endhighlight %}