hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1430) Read the logs in batches during log splitting to avoid OOME
Date Wed, 20 May 2009 02:49:45 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710976#action_12710976
] 

stack commented on HBASE-1430:
------------------------------

Answering j-d question up on #hbase, I tested a few times with from 2 to 6 or so log files..
never > 10.


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


Mime
View raw message