[ https://issues.apache.org/jira/browse/HIVE-20440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609496#comment-16609496 ]
Sahil Takiar commented on HIVE-20440: ------------------------------------- Then it might be better to have a two level cache. The first that has time-based eviction and has an eviction handler that loads into another cache that uses soft references. > Create better cache eviction policy for SmallTableCache > ------------------------------------------------------- > > Key: HIVE-20440 > URL: https://issues.apache.org/jira/browse/HIVE-20440 > Project: Hive > Issue Type: Improvement > Components: Spark > Reporter: Antal Sinkovits > Assignee: Antal Sinkovits > Priority: Major > Attachments: HIVE-20440.01.patch, HIVE-20440.02.patch, > HIVE-20440.03.patch, HIVE-20440.04.patch > > > Enhance the SmallTableCache, to use guava cache with soft references, so that > we evict when there is memory pressure. -- This message was sent by Atlassian JIRA (v7.6.3#76005)