Return-Path: X-Original-To: apmail-drill-commits-archive@www.apache.org Delivered-To: apmail-drill-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48541180FB for ; Mon, 4 May 2015 19:26:35 +0000 (UTC) Received: (qmail 97533 invoked by uid 500); 4 May 2015 19:26:35 -0000 Delivered-To: apmail-drill-commits-archive@drill.apache.org Received: (qmail 97465 invoked by uid 500); 4 May 2015 19:26:35 -0000 Mailing-List: contact commits-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commits@drill.apache.org Delivered-To: mailing list commits@drill.apache.org Received: (qmail 96250 invoked by uid 99); 4 May 2015 19:26:34 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2015 19:26:34 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4EAF5E0986; Mon, 4 May 2015 19:26:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: tshiran@apache.org To: commits@drill.apache.org Date: Mon, 04 May 2015 19:27:05 -0000 Message-Id: <96fdfd597ee742e082ba9fef12d85680@git.apache.org> In-Reply-To: <4d522f2cbb3a4fb98f9eb392f0c84959@git.apache.org> References: <4d522f2cbb3a4fb98f9eb392f0c84959@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [33/51] [partial] drill-site git commit: Initial commit http://git-wip-us.apache.org/repos/asf/drill-site/blob/c4de0f83/docs/configuration-options-introduction/index.html ---------------------------------------------------------------------- diff --git a/docs/configuration-options-introduction/index.html b/docs/configuration-options-introduction/index.html new file mode 100644 index 0000000..f316357 --- /dev/null +++ b/docs/configuration-options-introduction/index.html @@ -0,0 +1,1247 @@ + + + + + + + + + +Configuration Options Introduction - Apache Drill + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + +
+

Configuration Options Introduction

+ +
+ + + +
+ +

Drill provides many configuration options that you can enable, disable, or +modify. Modifying certain configuration options can impact Drill’s +performance. Many of Drill's configuration options reside in the drill- +env.sh and drill-override.conf files. Drill stores these files in the +/conf directory. Drill sources/etc/drill/conf if it exists. Otherwise, +Drill sources the local <drill_installation_directory>/conf directory.

+ +

The sys.options table in Drill contains information about boot (start-up) and system options listed in the tables on this page.

+ +

Boot Options

+ +

The section, "Start-up Options", covers how to configure and view these options.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDefaultComments
drill.exec.buffer.impl"org.apache.drill.exec.work.batch.UnlimitedRawBatchBuffer"
drill.exec.buffer.size6Available memory in terms of record batches to hold data downstream of an operation. Increase this value to increase query speed.
drill.exec.compile.debugTRUE
drill.exec.http.enabledTRUE
drill.exec.operator.packages"org.apache.drill.exec.physical.config"
drill.exec.sort.external.batch.size4000
drill.exec.sort.external.spill.directories"/tmp/drill/spill"Determines which directory to use for spooling
drill.exec.sort.external.spill.group.size100
drill.exec.storage.file.text.batch.size4000
drill.exec.storage.packages"org.apache.drill.exec.store" "org.apache.drill.exec.store.mock"Ignore or include this module, including supplementary configuraiton information when scanning the class path scanning. This file is in [HOCON format](https://github.com/typesafehub/config/blob/master/HOCON.md).
drill.exec.sys.store.provider.classZooKeeper: "org.apache.drill.exec.store.sys.zk.ZkPStoreProvider"The Pstore (Persistent Configuration Storage) provider to use. The Pstore holds configuration and profile data.
drill.exec.zk.connect"localhost:2181"The ZooKeeper quorum that Drill uses to connect to data sources. Configure on each Drillbit node.
drill.exec.zk.refresh500
file.separator"/"
java.specification.version1.7
java.vm.name"Java HotSpot(TM) 64-Bit Server VM"
java.vm.specification.version1.7
log.path"/log/sqlline.log"
sun.boot.library.path/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib
sun.java.command"sqlline.SqlLine -d org.apache.drill.jdbc.Driver --maxWidth=10000 -u jdbc:drill:zk=local"
sun.os.patch.levelunknown
user""
+ +

System Options

+ +

The sys.options table lists the following options that you can set at the session or system level as described in the section, "Planning and Execution Options"

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDefaultComments
drill.exec.functions.cast_empty_string_to_nullFALSE
drill.exec.storage.file.partition.column.labeldirAccepts a string input.
exec.errors.verboseFALSEToggles verbose output of executable error messages
exec.java_compilerDEFAULTSwitches between DEFAULT, JDK, and JANINO mode for the current session. Uses Janino by default for generated source code of less than exec.java_compiler_janino_maxsize; otherwise, switches to the JDK compiler.
exec.java_compiler_debugTRUEToggles the output of debug-level compiler error messages in runtime generated code.
exec.java_compiler_janino_maxsize262144See the exec.java_compiler option comment. Accepts inputs of type LONG.
exec.max_hash_table_size1073741824Ending size for hash tables. Range: 0 - 1073741824
exec.min_hash_table_size65536Starting size for hash tables. Increase according to available memory to improve performance. Range: 0 - 1073741824
exec.queue.enableFALSEChanges the state of query queues to control the number of queries that run simultaneously.
exec.queue.large10Range: 0-1000
exec.queue.small100Range: 0-1001
exec.queue.threshold30000000Range: 0-9223372036854775807
exec.queue.timeout_millis300000Range: 0-9223372036854775807
planner.add_producer_consumerFALSEIncrease prefetching of data from disk. Disable for in-memory reads.
planner.affinity_factor1.2Accepts inputs of type DOUBLE.
planner.broadcast_factor1
planner.broadcast_threshold10000000Threshold in number of rows that triggers a broadcast join for a query if the right side of the join contains fewer rows than the threshold. Avoids broadcasting too many rows to join. Range: 0-2147483647
planner.disable_exchangesFALSEToggles the state of hashing to a random exchange.
planner.enable_broadcast_joinTRUEChanges the state of aggregation and join operators. Do not disable.
planner.enable_demux_exchangeFALSEToggles the state of hashing to a demulitplexed exchange.
planner.enable_hash_single_keyTRUE
planner.enable_hashaggTRUEEnable hash aggregation; otherwise, Drill does a sort-based aggregation. Does not write to disk. Enable is recommended.
planner.enable_hashjoinTRUEEnable the memory hungry hash join. Does not write to disk.
planner.enable_hashjoin_swap
planner.enable_mergejoinTRUESort-based operation. Writes to disk.
planner.enable_multiphase_aggTRUE
planner.enable_mux_exchangeTRUEToggles the state of hashing to a multiplexed exchange.
planner.enable_streamaggTRUESort-based operation. Writes to disk.
planner.identifier_max_length1024
planner.join.hash_join_swap_margin_factor10
planner.join.row_count_estimate_factor1
planner.memory.average_field_width8
planner.memory.enable_memory_estimationFALSE
planner.memory.hash_agg_table_factor1.1
planner.memory.hash_join_table_factor1.1
planner.memory.max_query_memory_per_node2147483648
planner.memory.non_blocking_operators_memory64Range: 0-2048
planner.partitioner_sender_max_threads8
planner.partitioner_sender_set_threads-1
planner.partitioner_sender_threads_factor1
planner.producer_consumer_queue_size10How much data to prefetch from disk (in record batches) out of band of query execution
planner.slice_target100000The number of records manipulated within a fragment before Drill parallelizes operations.
planner.width.max_per_node3The maximum degree of distribution of a query across cores and cluster nodes.
planner.width.max_per_query1000Same as max per node but applies to the query as executed by the entire cluster.
store.formatparquetOutput format for data written to tables with the CREATE TABLE AS (CTAS) command. Allowed values are parquet, json, or text. Allowed values: 0, -1, 1000000
store.json.all_text_modeFALSEDrill reads all data from the JSON files as VARCHAR. Prevents schema change errors.
store.mongo.all_text_modeFALSESimilar to store.json.all_text_mode for MongoDB.
store.parquet.block-size536870912Sets the size of a Parquet row group to the number of bytes less than or equal to the block size of MFS, HDFS, or the file system.
store.parquet.compressionsnappyCompression type for storing Parquet output. Allowed values: snappy, gzip, none
store.parquet.enable_dictionary_encodingFALSE
store.parquet.use_new_readerFALSE
window.enable*FALSE
+ +

* Not supported in this release.

+ + + + + + +
+
+
+ +
+

+ + + + + + http://git-wip-us.apache.org/repos/asf/drill-site/blob/c4de0f83/docs/configuration-options/index.html ---------------------------------------------------------------------- diff --git a/docs/configuration-options/index.html b/docs/configuration-options/index.html new file mode 100644 index 0000000..e4b756f --- /dev/null +++ b/docs/configuration-options/index.html @@ -0,0 +1,855 @@ + + + + + + + + + +Configuration Options - Apache Drill + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+
+ + + + + +
+

Configuration Options

+ +
+ + + + +
+
+ +
+

+ + + + + +