You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2018/07/17 01:22:26 UTC

spark git commit: [SPARK-20220][DOCS] Documentation Add thrift scheduling pool config to scheduling docs

Repository: spark
Updated Branches:
  refs/heads/master d57a267b7 -> f876d3fa8


[SPARK-20220][DOCS] Documentation Add thrift scheduling pool config to scheduling docs

## What changes were proposed in this pull request?

The thrift scheduling pool configuration was removed from a previous release. Adding this back to the job scheduling configuration docs.

This PR takes over #17536 and handle some comments here.

## How was this patch tested?

Manually.

Closes #17536

Author: hyukjinkwon <gu...@apache.org>

Closes #21778 from HyukjinKwon/SPARK-20220.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/f876d3fa
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/f876d3fa
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/f876d3fa

Branch: refs/heads/master
Commit: f876d3fa800ae04ec33f27295354669bb1db911e
Parents: d57a267
Author: Miklos C <m....@gmail.com>
Authored: Tue Jul 17 09:22:16 2018 +0800
Committer: hyukjinkwon <gu...@apache.org>
Committed: Tue Jul 17 09:22:16 2018 +0800

----------------------------------------------------------------------
 docs/job-scheduling.md | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/f876d3fa/docs/job-scheduling.md
----------------------------------------------------------------------
diff --git a/docs/job-scheduling.md b/docs/job-scheduling.md
index da90342..2316f17 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 %}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org