[ https://issues.apache.org/jira/browse/HIVE-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mac Yang updated HIVE-1910: --------------------------- Attachment: HIVE-1910.1.patch.txt This enhancement is more relevant to metastore running in thrift server mode. With the current code, a long running metastore server could potentially end up with a large number of objects in memory (most notabl with Partition, SerDeInfo and StorageDescriptor object). This patch adds a new config parameter, "hive.metastore.cache.pinobjtypes", to make object pinning configurable. It also provides default value in hive-default.xml which will keep the current behavior. > Provide config parameters to control cache object pining > -------------------------------------------------------- > > Key: HIVE-1910 > URL: https://issues.apache.org/jira/browse/HIVE-1910 > Project: Hive > Issue Type: Improvement > Components: Configuration > Affects Versions: 0.6.0 > Reporter: Mac Yang > Priority: Minor > Attachments: HIVE-1910.1.patch.txt > > > The metastore currently pin instances of the following classes in the > secondary cache, > MTable, MStorageDescriptor, MSerDeInfo, MPartition, MDatabase, MType, > MFieldSchema, MOrder.class > It would be better if this behavior is configurable instead of hard coded. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.