The write buffer looks like this currently:

  private final ArrayList<Put> writeBuffer = new ArrayList<Put>();

... so that would have to change.

A batch delete was added to TRUNK and to head of the 0.20 branch recently
FYI.

HBASE-1845 is about cleaning up our batching and adding batch Get to the
mix.

St.Ack

On Tue, Sep 29, 2009 at 3:36 AM, Lars George <[email protected]> wrote:

> Hi Guys,
>
> Is there a reason why Delete's are not also put on the write buffer like
> Put's and then flushed out. That way we get an implicit batch delete (using
> the new batch delete calls internally, just like the batch put does) and MR
> jobs that output Put or Delete are automatically using the buffer for much
> better performance.
>
> I recently had an MR with 18K deletes and since batch delete was not yet
> available it crashed my job constantly because of the huge amount of RPC
> calls.
>
> Opinions?
>
> Lars
>

Reply via email to