Limengjun created IMPALA-8910:
---------------------------------
Summary: Catalog startup option should define how many tables
web-ui displays
Key: IMPALA-8910
URL: https://issues.apache.org/jira/browse/IMPALA-8910
Project: IMPALA
Issue Type: Improvement
Components: Catalog
Affects Versions: Impala 2.12.0
Reporter: Limengjun
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:
{code:java}
private CatalogUsageMonitor() {
final int num_tables_tracked = Integer.getInteger(
"org.apache.impala.catalog.CatalogUsageMonitor.NUM_TABLES_TRACKED", 25);
}
{code}
We can set N as 50 by adding an arg into catalog config(/etc/default/impala),
like:
{code:java}
IMPALA_CATALOG_JAVA_OPTS="$IMPALA_CATALOG_JAVA_OPTS
-Dorg.apache.impala.catalog.CatalogUsageMonitor.NUM_TABLES_TRACKED=50"{code}
So, we should document how to set NUM_TABLES_TRACKED
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]