From 7953ec28c16e00c140b395ea78f4f05baeb86472 Mon Sep 17 00:00:00 2001 From: Miklos C Date: Wed, 5 Apr 2017 11:44:34 +0800 Subject: [PATCH] SPARK-20220 : Add thrift scheduling pool config back to the job scheduling docs. --- docs/job-scheduling.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/job-scheduling.md b/docs/job-scheduling.md index 807944f20a78..374b5ec0af26 100644 --- a/docs/job-scheduling.md +++ b/docs/job-scheduling.md @@ -264,3 +264,9 @@ 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: + + SET spark.sql.thriftserver.scheduler.pool=accounting;