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

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

commit b0ef1d843e60bd02fdda2c4503e3456d7f5612f6
Author: m-sanjana19 <[email protected]>
AuthorDate: Mon Nov 17 11:41:21 2025 +0530

    IMPALA-14521: [DOCS] Documentation for catalog_partial_fetch_max_files flag
    
    Adds documentation for the catalog_partial_fetch_max_files configuration 
flag,
    which limits the number of file descriptors returned in a catalog fetch.
    
    Change-Id: I30b7a29ae78d97d15dd7f946d83f7535181f214e
    Reviewed-on: http://gerrit.cloudera.org:8080/23676
    Tested-by: Impala Public Jenkins <[email protected]>
    Reviewed-by: Quanlong Huang <[email protected]>
---
 docs/topics/impala_scalability.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/topics/impala_scalability.xml 
b/docs/topics/impala_scalability.xml
index 6f0d61dd0..732bc38a6 100644
--- a/docs/topics/impala_scalability.xml
+++ b/docs/topics/impala_scalability.xml
@@ -202,6 +202,23 @@ Memory Usage: Additional Notes
     </conbody>
 
   </concept>
+  <concept id="catalog_file_metadata" rev="5.0.0_IMPALA-11402">
+    <title>Limiting file metadata fetched in Catalog requests (<keyword 
keyref="impala50_full"/> and
+      higher)</title>
+    <conbody>
+      <p>To prevent Catalog service (Catalogd) Out-of-Memory (OOM) errors when 
coordinator fetching metadata for
+        tables with millions of files, the new configuration flag
+          <codeph>catalog_partial_fetch_max_files</codeph> has been 
introduced.</p>
+      <p>This flag limits the maximum number of file descriptors returned in a 
single Catalog fetch
+        response. This response is for the 
<codeph>GetPartialCatalogObject</codeph> RPC, which is
+        used in local catalog mode. See <xref href="impala_metadata.xml"/></p>
+      <p><b>Default:</b> 1,000,000 files</p>
+      <p>If a request exceeds this limit, Catalogd truncates the response at 
the partition level.
+        The Impala coordinator then automatically sends subsequent requests to 
fetch the remaining
+        metadata, and it detects any version changes to force a query replan, 
ensuring metadata
+        consistency.</p>
+    </conbody>
+  </concept>
 
   <concept rev="2.1.0" id="statestore_scalability">
 

Reply via email to