You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by mi...@apache.org on 2018/05/09 21:10:19 UTC
[10/51] [partial] impala git commit: [DOCS] Impala doc site update
for 3.0
http://git-wip-us.apache.org/repos/asf/impala/blob/fae51ec2/docs/build3x/html/topics/impala_replica_preference.html
----------------------------------------------------------------------
diff --git a/docs/build3x/html/topics/impala_replica_preference.html b/docs/build3x/html/topics/impala_replica_preference.html
new file mode 100644
index 0000000..38b8698
--- /dev/null
+++ b/docs/build3x/html/topics/impala_replica_preference.html
@@ -0,0 +1,68 @@
+<!DOCTYPE html
+ SYSTEM "about:legacy-compat">
+<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 2018"><meta name="DC.rights.owner" content="(C) Copyright 2018"><meta name="DC.Type" content="concept"><meta name="DC.Relation" scheme="URI" content="../topics/impala_query_options.html"><meta name="prodname" content="Impala"><meta name="prodname" content="Impala"><meta name="version" content="Impala 3.0.x"><meta name="version" content="Impala 3.0.x"><meta name="DC.Format" content="XHTML"><meta name="DC.Identifier" content="replica_preference"><link rel="stylesheet" type="text/css" href="../commonltr.css"><title>REPLICA_PREFERENCE Query Option (Impala 2.7 or higher only)</title></head><body id="replica_preference"><main role="main"><article role="article" aria-labelledby="ariaid-title1">
+
+ <h1 class="title topictitle1" id="ariaid-title1">REPLICA_PREFERENCE Query Option (<span class="keyword">Impala 2.7</span> or higher only)</h1>
+
+
+
+
+
+ <div class="body conbody">
+
+ <p class="p">
+
+ </p>
+
+ <p class="p">
+ The <code class="ph codeph">REPLICA_PREFERENCE</code> query option lets you distribute the work more
+ evenly if hotspots and bottlenecks persist. It causes the access cost of all replicas of a
+ data block to be considered equal to or worse than the configured value. This allows
+ Impala to schedule reads to suboptimal replicas (e.g. local in the presence of cached
+ ones) in order to distribute the work across more executor nodes.
+ </p>
+
+ <p class="p">
+ Allowed values are: <code class="ph codeph">CACHE_LOCAL</code> (<code class="ph codeph">0</code>),
+ <code class="ph codeph">DISK_LOCAL</code> (<code class="ph codeph">2</code>), <code class="ph codeph">REMOTE</code>
+ (<code class="ph codeph">4</code>)
+ </p>
+
+ <p class="p">
+ <strong class="ph b">Type:</strong> Enum
+ </p>
+
+ <p class="p">
+ <strong class="ph b">Default:</strong> <code class="ph codeph">CACHE_LOCAL (0)</code>
+ </p>
+
+ <p class="p">
+ <strong class="ph b">Added in:</strong> <span class="keyword">Impala 2.7.0</span>
+ </p>
+
+ <p class="p">
+ <strong class="ph b">Usage Notes:</strong>
+ </p>
+
+ <p class="p">
+ By default Impala selects the best replica it can find in terms of access cost. The
+ preferred order is cached, local, and remote. With <code class="ph codeph">REPLICA_PREFERENCE</code>,
+ the preference of all replicas are capped at the selected value. For example, when
+ <code class="ph codeph">REPLICA_PREFERENCE</code> is set to <code class="ph codeph">DISK_LOCAL</code>, cached and
+ local replicas are treated with the equal preference. When set to
+ <code class="ph codeph">REMOTE</code>, all three types of replicas, cached, local, remote, are treated
+ with equal preference.
+ </p>
+
+ <p class="p">
+ <strong class="ph b">Related information:</strong>
+ </p>
+
+ <p class="p">
+ <a class="xref" href="impala_perf_hdfs_caching.html#hdfs_caching">Using HDFS Caching with Impala (Impala 2.1 or higher only)</a>,
+ <a class="xref" href="impala_schedule_random_replica.html#schedule_random_replica">SCHEDULE_RANDOM_REPLICA Query Option (Impala 2.5 or higher only)</a>
+ </p>
+
+ </div>
+
+<nav role="navigation" class="related-links"><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/impala_query_options.html">Query Options for the SET Statement</a></div></div></nav></article></main></body></html>
http://git-wip-us.apache.org/repos/asf/impala/blob/fae51ec2/docs/build3x/html/topics/impala_request_pool.html
----------------------------------------------------------------------
diff --git a/docs/build3x/html/topics/impala_request_pool.html b/docs/build3x/html/topics/impala_request_pool.html
new file mode 100644
index 0000000..39be2da
--- /dev/null
+++ b/docs/build3x/html/topics/impala_request_pool.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html
+ SYSTEM "about:legacy-compat">
+<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 2018"><meta name="DC.rights.owner" content="(C) Copyright 2018"><meta name="DC.Type" content="concept"><meta name="DC.Relation" scheme="URI" content="../topics/impala_query_options.html"><meta name="prodname" content="Impala"><meta name="prodname" content="Impala"><meta name="version" content="Impala 3.0.x"><meta name="version" content="Impala 3.0.x"><meta name="DC.Format" content="XHTML"><meta name="DC.Identifier" content="request_pool"><link rel="stylesheet" type="text/css" href="../commonltr.css"><title>REQUEST_POOL Query Option</title></head><body id="request_pool"><main role="main"><article role="article" aria-labelledby="ariaid-title1">
+
+ <h1 class="title topictitle1" id="ariaid-title1">REQUEST_POOL Query Option</h1>
+
+
+
+ <div class="body conbody">
+
+ <p class="p">
+
+ The pool or queue name that queries should be submitted to. Only applies when you enable the Impala admission control feature.
+ Specifies the name of the pool used by requests from Impala to the resource manager.
+ </p>
+
+ <p class="p">
+ <strong class="ph b">Type:</strong> <code class="ph codeph">STRING</code>
+ </p>
+
+ <p class="p">
+ <strong class="ph b">Default:</strong> empty (use the user-to-pool mapping defined by an <span class="keyword cmdname">impalad</span> startup option
+ in the Impala configuration file)
+ </p>
+
+ <p class="p">
+ <strong class="ph b">Related information:</strong>
+ </p>
+ <p class="p">
+ <a class="xref" href="impala_admission.html">Admission Control and Query Queuing</a>
+ </p>
+
+
+ </div>
+<nav role="navigation" class="related-links"><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/impala_query_options.html">Query Options for the SET Statement</a></div></div></nav></article></main></body></html>