Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8910

Catalog startup option should define how many tables web-ui displays

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 2.12.0
    • None
    • Catalog
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            littlerunner Limengjun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: