You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2018/06/08 18:59:00 UTC

[jira] [Created] (HIVE-19834) Clear Context Map of Paths to ContentSummary

BELUGA BEHR created HIVE-19834:
----------------------------------

             Summary: Clear Context Map of Paths to ContentSummary
                 Key: HIVE-19834
                 URL: https://issues.apache.org/jira/browse/HIVE-19834
             Project: Hive
          Issue Type: Improvement
          Components: HiveServer2
    Affects Versions: 2.3.2, 3.0.0, 4.0.0
            Reporter: BELUGA BEHR
         Attachments: HIVE-19834.1.patch

The {{Context}} class has a {{clear}} method which is called.  During the method, various files are deleted and in-memory maps are cleared.  I would like to propose that we clear out an additional in-memory map structure that may contain a lot of data so that it can be GC'ed asap. This map contains mapping of "File Path"->"Content Summary".  For a query with a large file set, this can be quite large.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)