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

Hive QueryResultCache entries keeping reference to SemanticAnalyzer from cached query

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
      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. dominator_tree.png
          564 kB
          Jason Dere
        2. HIVE-20834.1.patch
          3 kB
          Jason Dere
        3. HIVE-20834.2.patch
          3 kB
          Jason Dere
        4. HIVE-20834.3.patch
          3 kB
          Jason Dere

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: