[ https://issues.apache.org/jira/browse/HIVE-16779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16027109#comment-16027109 ]
Thejas M Nair commented on HIVE-16779: -------------------------------------- Add it to finally block ? {code} finally { try { rawStore.shutdown(); } catch (Exception e){ LOG.error("Error shutting down RawStore",e ); } } {code} > CachedStore refresher leak PersistenceManager resources > ------------------------------------------------------- > > Key: HIVE-16779 > URL: https://issues.apache.org/jira/browse/HIVE-16779 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Daniel Dai > Assignee: Daniel Dai > Attachments: HIVE-16779.1.patch > > > See OOM when running CachedStore. We didn't shutdown rawstore in refresh > thread. -- This message was sent by Atlassian JIRA (v6.3.15#6346)