You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by br...@apache.org on 2015/09/23 23:13:23 UTC

drill git commit: edited drill in 10 for back tick error; config edits also

Repository: drill
Updated Branches:
  refs/heads/gh-pages 14e28f74c -> f4dc0cf9f


edited drill in 10 for back tick error; config edits also


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

Branch: refs/heads/gh-pages
Commit: f4dc0cf9f2b4da7bb08ba1e3a961fa1ac43ed0f1
Parents: 14e28f7
Author: Bridget Bevens <bb...@maprtech.com>
Authored: Wed Sep 23 14:07:40 2015 -0700
Committer: Bridget Bevens <bb...@maprtech.com>
Committed: Wed Sep 23 14:07:40 2015 -0700

----------------------------------------------------------------------
 .../070-configuring-user-impersonation.md            | 15 ++++++++++++++-
 .../010-configuration-options-introduction.md        |  1 +
 _docs/tutorials/020-drill-in-10-minutes.md           |  2 +-
 3 files changed, 16 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/f4dc0cf9/_docs/configure-drill/070-configuring-user-impersonation.md
----------------------------------------------------------------------
diff --git a/_docs/configure-drill/070-configuring-user-impersonation.md b/_docs/configure-drill/070-configuring-user-impersonation.md
index 074da69..aefe638 100644
--- a/_docs/configure-drill/070-configuring-user-impersonation.md
+++ b/_docs/configure-drill/070-configuring-user-impersonation.md
@@ -105,13 +105,26 @@ Chaining is a system-wide setting that applies to all views. Currently, Drill do
 Complete the following steps on each Drillbit node to enable user impersonation, and set the maximum number of chained user hops that Drill allows:
 
 1. Navigate to `<drill_installation_directory>/conf/` and edit `drill-override.conf`.
-2. Under `drill.exe`, add the following:
+2. Under `drill.exec`, add the following:
 
           drill.exec.impersonation: {
                 enabled: true,
                  max_chained_user_hops: 3
           }
 
+       Alternatively, you can nest impersonation within the `drill.exec` block, as shown in the following example: 
+
+              drill.exec: {
+                   cluster-id: "cluster_name",
+                   zk.connect: "<hostname>:<port>,<hostname>:<port>,<hostname>:<port>",
+                   sys.store.provider.zk.blobroot: "hdfs://",
+                   impersonation: {
+                     enabled: true,
+                     max_chained_user_hops: 3
+                   }
+                 }
+
+ 
 3. Verify that enabled is set to `‘true’`.
 4. Set the maximum number of chained user hops that you want Drill to allow.
 5. Restart the Drillbit process on each Drill node.

http://git-wip-us.apache.org/repos/asf/drill/blob/f4dc0cf9/_docs/configure-drill/configuration-options/010-configuration-options-introduction.md
----------------------------------------------------------------------
diff --git a/_docs/configure-drill/configuration-options/010-configuration-options-introduction.md b/_docs/configure-drill/configuration-options/010-configuration-options-introduction.md
index 4f00dd8..d541a74 100644
--- a/_docs/configure-drill/configuration-options/010-configuration-options-introduction.md
+++ b/_docs/configure-drill/configuration-options/010-configuration-options-introduction.md
@@ -59,6 +59,7 @@ The sys.options table lists the following options that you can set as a system o
 | planner.memory.enable_memory_estimation        | FALSE            | Toggles the state of memory estimation and re-planning of the query. When enabled, Drill conservatively estimates memory requirements and typically excludes these operators from the plan and negatively impacts performance.                                                                                                                                   |
 | planner.memory.hash_agg_table_factor           | 1.1              | A heuristic value for influencing the size of the hash aggregation table.                                                                                                                                                                                                                                                                                        |
 | planner.memory.hash_join_table_factor          | 1.1              | A heuristic value for influencing the size of the hash aggregation table.                                                                                                                                                                                                                                                                                        |
+| planner.memory_limit                           | 268435456 bytes  | Defines the maximum amount of direct memory allocated to a query for planning. When multiple queries run concurrently, each query is allocated the amount of memory set by this parameter.Increase the value of this parameter and rerun the query if partition pruning failed due to insufficient memory.                                                       |
 | planner.memory.max_query_memory_per_node       | 2147483648 bytes | Sets the maximum estimate of memory for a query per node in bytes. If the estimate is too low, Drill re-plans the query without memory-constrained operators.                                                                                                                                                                                                    |
 | planner.memory.non_blocking_operators_memory   | 64               | Extra query memory per node for non-blocking operators. This option is currently used only for memory estimation. Range: 0-2048 MB                                                                                                                                                                                                                               |
 | planner.nestedloopjoin_factor                  | 100              | A heuristic value for influencing the nested loop join.                                                                                                                                                                                                                                                                                                          |

http://git-wip-us.apache.org/repos/asf/drill/blob/f4dc0cf9/_docs/tutorials/020-drill-in-10-minutes.md
----------------------------------------------------------------------
diff --git a/_docs/tutorials/020-drill-in-10-minutes.md b/_docs/tutorials/020-drill-in-10-minutes.md
index d855b2e..5039375 100755
--- a/_docs/tutorials/020-drill-in-10-minutes.md
+++ b/_docs/tutorials/020-drill-in-10-minutes.md
@@ -120,7 +120,7 @@ Use SQL to query the sample `JSON` and `Parquet` files in the `sample-data` dire
 A sample JSON file, [`employee.json`]({{site.baseurl}}/docs/querying-json-files/), contains fictitious employee data. To view the data in the `employee.json` file, submit the following SQL query
 to Drill, using the [cp (classpath) storage plugin]({{site.baseurl}}/docs/storage-plugin-registration/) configuration to point to the file.
     
-`0: jdbc:drill:zk=local> SELECT * FROM cp.`employee.json` LIMIT 3;`
+``0: jdbc:drill:zk=local> SELECT * FROM cp.`employee.json` LIMIT 3;``
 
 The query output is: