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

Decrease statestore_update_frequency_ms in development environment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Infrastructure
    • None
    • ghx-label-9

    Description

      The current default 2s for statestore_update_frequency_ms adds significant delay to lot of operations. While decreasing it in production environment sounds risky, doing this in the development environment could make it faster.

      Decreasing statestore_update_frequency_ms from 2s to 0.5s reduced cluster startup time by 1-2 seconds, which could make custom cluster tests faster. It also significantly speeds up tests that create / drop metastore objects:
      impala-py.test -x tests/metadata/test_ddl.py -ktest_create_table_as_select
      with default settings:
      first run: 32s -> 16s
      other runs: 16s -> 8s

      The effect less drastic on the first run with catalog_topic_mode=minimal:
      first run: 18s-> 12s
      other runs: 16s -> 8s

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              csringhofer Csaba Ringhofer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: