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

Remove DirectMetaProvider usage from CatalogMetaProvider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 3.4.0
    • Impala 4.4.0
    • Catalog
    • None

    Description

      I see that CatalogMetaProvider uses DirectMetaProvider here https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/catalog/local/CatalogdMetaProvider.java#L239

      There are only a couple of places where it is used within CatalogMetaProvider. We should implement those remaining APIs in catalog-v2 mode and remove the usage of DirectMetaProvider from CatalogMetaProvider.

      DirectMetaProvider starts by default a MetastoreClientPool (with 10 connections). This is unnecessary given that catalog already makes the connections to HMS at its startup. It also slows down the coordinator startup time if there are HMS connection issues.

      Attachments

        Issue Links

          Activity

            People

              vihangk1 Vihang Karajgaonkar
              vihangk1 Vihang Karajgaonkar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: