hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Rawson <ryano...@gmail.com>
Subject Re: when does put return to the caller?
Date Wed, 23 Feb 2011 21:28:27 GMT
There is a batch put call, should be trivial to use some kind of
background thread to invoke callbacks when it returns.

Check out the HTable API, javadoc, etc.  All available via http://hbase.org !


On Wed, Feb 23, 2011 at 1:25 PM, Hiller, Dean  (Contractor)
<dean.hiller@broadridge.com> wrote:
> I was wonder if put returns after writing the data into memory on two
> out of the three nodes letting my client continue so we don't have to
> wait for the memory to then go to disk.  After all, if it is replicated,
> probably don't need to wait for it to be written to disk(ie. Kind of
> like the in-memory data grids that exist out there).
> Also, is there an asynchronous request/response for PutAll so I can slam
> the grid with batches of 1000 entries kind of like
> PutAll(List<PutOps> puts, AsynchCallback cb); such that cb would be
> called with the failure or success response after the put?
> Thanks,
> Dean
> This message and any attachments are intended only for the use of the addressee and
> may contain information that is privileged and confidential. If the reader of the
> message is not the intended recipient or an authorized representative of the
> intended recipient, you are hereby notified that any dissemination of this
> communication is strictly prohibited. If you have received this communication in
> error, please notify us immediately by e-mail and delete the message and any
> attachments from your system.

View raw message