You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2020/06/09 04:04:52 UTC

[impala] 01/02: IMPALA-9817: [DOCS] add flags related to use_local_catalog

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

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

commit 1d83168cdc3954dd6a19ac87371b225f374e2f30
Author: Shajini Thayasingh <st...@cloudera.com>
AuthorDate: Fri Jun 5 10:15:31 2020 -0700

    IMPALA-9817: [DOCS] add flags related to use_local_catalog
    
    incorporated corrections based on the feedback
    added three flags related to use_local_catalog
    explained that it should not be changed
    talked about the default values
    
    Change-Id: I832f94e56ec51cee5304187991388c1994a1f55c
    Reviewed-on: http://gerrit.cloudera.org:8080/16037
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
    Reviewed-by: Quanlong Huang <hu...@gmail.com>
---
 docs/topics/impala_metadata.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/docs/topics/impala_metadata.xml b/docs/topics/impala_metadata.xml
index fb5e856..4ded6fa 100644
--- a/docs/topics/impala_metadata.xml
+++ b/docs/topics/impala_metadata.xml
@@ -124,6 +124,29 @@ under the License.
             </dd>
 
           </dlentry>
+          <dlentry>
+            <dt>Flags related to <codeph>use_local_catalog</codeph></dt>
+            <dd>When <codeph>use_local_catalog</codeph> is enabled or set to <codeph>True</codeph> on the impalad
+              coordinators the following list of flags configure various parameters as described below. It is not
+              recommended to change the default values on these flags.
+            </dd>
+            <dd>
+              <ul>
+                <li>The flag <codeph>local_catalog_cache_mb</codeph> (defaults to -1) configures the
+                  size of the catalog cache within each coordinator. With the default set to -1, the
+                  cache is auto-configured to 60% of the configured Java heap size. Note that the
+                  Java heap size is distinct from and typically smaller than the overall Impala
+                  memory limit.</li>
+                <li>The flag <codeph>local_catalog_cache_expiration_s</codeph> (defaults to 3600) configures the
+                  expiration time of the catalog cache within each impalad. Even if the configured
+                  cache capacity has not been reached, items are removed from the cache if they have not
+                  been accessed in the defined amount of time.</li>
+                <li>The flag <codeph>local_catalog_max_fetch_retries</codeph> (defaults to 40) configures
+                  the maximum number of retries needed for queries to fetch a metadata object from the impalad
+                  coordinator's local catalog cache.</li>
+              </ul>
+            </dd>
+          </dlentry>
         </dl>
       </p>