[
https://issues.apache.org/jira/browse/HIVE-17188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103956#comment-16103956
]
Vihang Karajgaonkar commented on HIVE-17188:
--------------------------------------------
Hi Mithun, thanks for the providing the patch. Can you please update the patch
with HIVE specific JIRA number and description of this JIRA as per our
convention? You can add a line in the description where this patch was
cherry-picked from I you like.. Also, wondering how the patch alleviates the
problem? If there are hundreds of partitions being added, aren't they already
in memory in the {{List<Partition> parts}} object? If you have any stats to
share it would be great. Eg. before --> running out of memory at X number of
partitions ; after --> running out of memory at X+Y number of partitions.
Thanks!
> ObjectStore runs out of memory for large batches of addPartitions().
> --------------------------------------------------------------------
>
> Key: HIVE-17188
> URL: https://issues.apache.org/jira/browse/HIVE-17188
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 2.2.0
> Reporter: Mithun Radhakrishnan
> Assignee: Chris Drome
> Attachments: HIVE-17188.1.patch
>
>
> For large batches (e.g. hundreds) of {{addPartitions()}}, the {{ObjectStore}}
> runs out of memory. Flushing the {{PersistenceManager}} alleviates the
> problem.
> (Raising this on behalf of [~cdrome] and [~thiruvel].)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)