Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Impala 2.12.0
-
None
-
ghx-label-13
Description
Impala 2.12 starts to expose Top-N Tables with Highest Number of Metadata Operations
and Memory Requirements, which default to 25. In source code of Impala-Catalog 2.12, the value of N is set as follows:
private CatalogUsageMonitor() { final int num_tables_tracked = Integer.getInteger( "org.apache.impala.catalog.CatalogUsageMonitor.NUM_TABLES_TRACKED", 25); }
We can set N as 50 by adding an arg into catalog config(/etc/default/impala), like:
IMPALA_CATALOG_JAVA_OPTS="$IMPALA_CATALOG_JAVA_OPTS -Dorg.apache.impala.catalog.CatalogUsageMonitor.NUM_TABLES_TRACKED=50"
So, we should document how to set NUM_TABLES_TRACKED