Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18920

CBO: Initialize the Janino providers ahead of 1st query

    XMLWordPrintableJSON

Details

    Description

      Hive Calcite metadata providers are compiled when the 1st query comes in.

      If a second query arrives before the 1st one has built a metadata provider, it will also try to do the same thing, because the cache is not populated yet.

      With 1024 concurrent users, it takes 6 minutes for the 1st query to finish fighting all the other queries which are trying to load that cache.

      Attachments

        1. HIVE-18920.01.patch
          72 kB
          jcamachorodriguez
        2. HIVE-18920.02.patch
          15 kB
          jcamachorodriguez
        3. HIVE-18920.patch
          72 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h