hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mac Yang (JIRA)" <>
Subject [jira] Updated: (HIVE-1910) Provide config parameters to control cache object pining
Date Fri, 21 Jan 2011 00:56:45 GMT


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:
>             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.

View raw message