Yep, my mistake...
I didn't trace the source code deep enough.

Looks like HTable always write to writeBuffer for any kind of Put operation.
Sorry for the rash inquiry ;-)

Ed

2011/6/22 Stack <[email protected]>

> On Tue, Jun 21, 2011 at 7:22 PM, edward choi <[email protected]> wrote:
> > I read it on the Internet that it is experimentally faster to directly
> > instantiate HTable and use HTable.batch() in the Map
> > than to use TableOutputFormat as the Map's OutputClass
> >
>
> If you read it on the net, it must be true.
>
> > Am I right on this matter? Or does TableOutputFormat automatically do
> batch
> > updates somehow?
> > Or is there a specific way to do batch updates with TableOutputFormat?
> >
>
> What Doug Meil said.  The batching is being done for you under the covers.
>
> St.Ack
>

Reply via email to