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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Impala 2.12.0
    • Fix Version/s: None
    • Component/s: Catalog
    • Epic Color:
      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

            • Assignee:
              Unassigned
              Reporter:
              littlerunner Limengjun
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: