accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject [accumulo-website] branch master updated: Update scan exec docs for apache/accumulo#972 changes (#157)
Date Sun, 24 Feb 2019 00:12:52 GMT
This is an automated email from the ASF dual-hosted git repository.

kturner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new e0f32e6  Update scan exec docs for apache/accumulo#972 changes (#157)
e0f32e6 is described below

commit e0f32e61846bcfda2fab79e071e83392456cc5b3
Author: Keith Turner <kturner@apache.org>
AuthorDate: Sat Feb 23 19:12:48 2019 -0500

    Update scan exec docs for apache/accumulo#972 changes (#157)
---
 _docs-2/administration/scan-executors.md | 34 +++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

diff --git a/_docs-2/administration/scan-executors.md b/_docs-2/administration/scan-executors.md
index f9f93c6..95affe3 100644
--- a/_docs-2/administration/scan-executors.md
+++ b/_docs-2/administration/scan-executors.md
@@ -125,22 +125,38 @@ table `tex`.
 ```
 config -s tserver.scan.executors.special.threads=8
 config -s tserver.scan.executors.special.prioritizer=org.apache.accumulo.core.spi.scan.HintScanPrioritizer
+config -s tserver.scan.executors.special.prioritizer.opts.priority.alpha=1
+config -s tserver.scan.executors.special.prioritizer.opts.priority.gamma=3
 createtable tex
 config -t tex -s table.scan.dispatcher=org.apache.accumulo.core.spi.scan.SimpleScanDispatcher
-config -t tex -s table.scan.dispatcher.opts.heed_hints=true
+config -t tex -s table.scan.dispatcher.opts.executor.alpha=special
+config -t tex -s table.scan.dispatcher.opts.executor.gamma=special
 ```
 
 The {% jlink org.apache.accumulo.core.spi.scan.HintScanPrioritizer %} honors
-hints of the form `priority=<integer>` to prioritize scans, with lower integers
-resulting in a higher priority. The `SimpleScanDispatcher`, which is the
-default dispatcher, supports the `heed_hints` option. By default the
-`SimpleScanDispatcher` ignores hints, but when `heed_hints` is set to `true` it
-will honor hints of the form `executor=<executor name>` when choosing an
-executor. After restarting tservers, the following command will start a scan
-that uses the executor `special` with a priority of 3.
+hints of the form `priority=<integer>` or `scan_type=<type>` to prioritize
+scans, with lower integers resulting in a higher priority.  When a hint
+specifies a scan type it is mapped to a priority based on the prioritizer
+configuration.
+
+The `SimpleScanDispatcher`, which is the default dispatcher, supports
+`executor.<type>=<executor>` options. When a scanner sets a hint of the form
+`scan_type=<type>` it will use the executor configured for that type. 
+
+After restarting tservers, the following command will start a scan that uses
+the executor `special` with a priority of 3.  The scan dispatcher maps the scan
+type `gamma` to the executor `special`.  The prioritizer maps the scan type
+`gamma` to a priority of 3.
+
+```
+scan -t tex --execution-hints scan_type=gamma
+```
+
+The following command will start a scan that uses the executor `special` with a
+priority of 1.
 
 ```
-scan -t tex --execution-hints priority=3,executor=special
+scan -t tex --execution-hints scan_type=alpha
 ```
 
 [tserver]: {{ page.docs_baseurl }}/getting-started/design#tablet-server-1


Mime
View raw message