[
https://issues.apache.org/jira/browse/HIVE-7975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brock Noland updated HIVE-7975:
-------------------------------
Attachment: HIVE-7975.3.patch
PS I made a minor change on commit and moved thrift-replacements.txt to
src/main/resources and added an apache license to thrift-replacements.txt.
> HS2 memory optimization: Internalizing instance fields of Thrift-generated
> metastore API classes
> ------------------------------------------------------------------------------------------------
>
> Key: HIVE-7975
> URL: https://issues.apache.org/jira/browse/HIVE-7975
> Project: Hive
> Issue Type: Improvement
> Reporter: Wilbur Yang
> Assignee: Wilbur Yang
> Fix For: 0.14.0
>
> Attachments: HIVE-7975-doc.pdf, HIVE-7975.1.patch, HIVE-7975.2.patch,
> HIVE-7975.3.patch
>
>
> We should internalize the String-based instance fields of the metastore API
> classes FieldSchema, Partition, SerDeInfo, and StorageDescriptor in order to
> save memory. In a test environment with data consisting of about 1800
> partitions, the proposed changes are able to save about 24% of old generation
> memory during a complex query. See details in the attached document.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)