[
https://issues.apache.org/jira/browse/HBASE-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Daniel Cryans updated HBASE-1430:
--------------------------------------
Attachment: hbase-1430-trunk-v1.patch
This patch makes it that we read, by default, in batches of 10 logs that we
then write right away. Was tested with 12 logs to split.
> Read the logs in batches during log splitting to avoid OOME
> -----------------------------------------------------------
>
> Key: HBASE-1430
> URL: https://issues.apache.org/jira/browse/HBASE-1430
> Project: Hadoop HBase
> Issue Type: Improvement
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Priority: Blocker
> Fix For: 0.20.0, 0.19.3
>
> Attachments: hbase-1430-trunk-v1.patch
>
>
> During log splitting, in the worst case we can read 64 logs of 64MB which
> will surely bust any heap. Instead we should read the logs in batches of 5-10
> that we write right away.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.