You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2020/04/28 02:21:48 UTC

[impala] 01/02: IMPALA-9613: [DOCS] Document the data_cache_eviction_policy

This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 961519747bf75bc2ba8519d00757b8e176d14538
Author: Kris Hahn <kh...@cloudera.com>
AuthorDate: Wed Apr 8 20:39:00 2020 -0700

    IMPALA-9613: [DOCS] Document the data_cache_eviction_policy
    
    Describe start up flag to set LRU or LIRS policy. Tweak LIRS description.
    
    Change-Id: Ic46ae00549157535c12f761aff7747fc90249d98
    Reviewed-on: http://gerrit.cloudera.org:8080/15694
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
    Reviewed-by: Joe McDonnell <jo...@cloudera.com>
---
 docs/topics/impala_data_cache.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/topics/impala_data_cache.xml b/docs/topics/impala_data_cache.xml
index fed4181..210b181 100644
--- a/docs/topics/impala_data_cache.xml
+++ b/docs/topics/impala_data_cache.xml
@@ -85,6 +85,17 @@ under the License.
 
 <codeblock>--data_cache=/data/0,/data/1:500GB</codeblock>
 
+    <p> In Impala 3.4 and higher, you can configure one of the following cache eviction policies for
+      the data cache: <ul>
+        <li>LRU (Least Recently Used--the default)</li>
+        <li>LIRS (Inter-referenece Recency Set)</li>
+      </ul> LIRS is a scan-resistent, low performance-overhead policy. You configure a cache
+      eviction policy using the <codeph>--data_cache_eviction_policy</codeph> Impala Daemon start-up
+      flag: </p>
+    <p>
+<codeblock>--data_cache_eviction_policy=<varname>policy</varname>
+</codeblock>
+    </p>
   </conbody>
 
 </concept>