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

Hive QueryResultCache entries keeping reference to SemanticAnalyzer from cached query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0, 4.0.0-alpha-1
    • None
    • None

    Description

      QueryResultCache.LookupInfo ends up keeping a reference to the SemanticAnalyzer from the cached query, for as long as the cached entry is in the cache. We should not be keeping the SemanticAnalyzer around after the query is done executing since they can hold on to quite a bit of memory.

      Attachments

        1. HIVE-20834.3.patch
          3 kB
          Jason Dere
        2. HIVE-20834.2.patch
          3 kB
          Jason Dere
        3. HIVE-20834.1.patch
          3 kB
          Jason Dere
        4. dominator_tree.png
          564 kB
          Jason Dere

        Issue Links

          Activity

            People

              jdere Jason Dere
              jdere Jason Dere
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: