> Date: Fri, 29 Oct 2010 13:58:02 -0700
> Subject: Re: Time-series schema
> From: [email protected]
> To: [email protected]

> There is no such atomicity provided by HBase. Recent TableIndexed may help,
> but I have not personally tried it.
> 
> 

Uhm actually there is. :-)

Like I said in the other post, when you insert the rows, you can fetch the 
local time on the node and use it when you insert the row as the time stamp for 
the row.
So you can get an 'atomic' write.

Just a word of advice. Make sure you use the right System method. Had a 
developer accidentally use nanoTime() and now you have rows in a table that 
don't make sense...

                                          

Reply via email to