You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Chia-Ping Tsai (JIRA)" <ji...@apache.org> on 2017/06/05 08:11:04 UTC

[jira] [Resolved] (HBASE-11223) Limit the actions number of a call in the batch

     [ https://issues.apache.org/jira/browse/HBASE-11223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chia-Ping Tsai resolved HBASE-11223.
------------------------------------
    Resolution: Duplicate

We had implemented the limit in the client (see HBASE-17408) and server (see HBASE-14946)

> Limit the actions number of a call in the batch 
> ------------------------------------------------
>
>                 Key: HBASE-11223
>                 URL: https://issues.apache.org/jira/browse/HBASE-11223
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.99.0
>            Reporter: Liu Shaohui
>            Assignee: Liu Shaohui
>
> Huge batch operation will make regionserver crash for GC.
> The extreme code like this:
> {code}
>     final List<Delete> deletes = new ArrayList<Delete>();
>     final long rows = 4000000;
>     for (long i = 0; i < rows; ++i) {
>       deletes.add(new Delete(Bytes.toBytes(i)));
>     }
>     table.delete(deletes);
> {code}
> We should limit the actions number of a call in the batch. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)