Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> ways to make orders when it puts

Copy link to this message
Re: ways to make orders when it puts
Silly question. Why do you care how your data is being stored?

Does it matter if the data is stored in rows where A1,A2, A3 are the order of the keys, or
if its A3,A1,A2 ?

If you say that you want to store the rows in order based on entry time, you're going to also have to deal with a little nasty problem of hot spotting along with your regions being only half full post spilt.
On Oct 4, 2012, at 3:54 AM, JUN YOUNG KIM <[EMAIL PROTECTED]> wrote:

> hi, hbase users.
> I am wondering how we can make orders when we put under multiple threads.
> I mean that
> threads are working like this
> thread1 puts A1 (rowkey)
> thread2 puts A2
> thread3 puts A3
> by unexpected working time order,
> thread1 puts earlier than thread2.
> thread3 puts earlier than thread1.
> yes, I know that hbase will store it in-order like A1 -> A2 -> A3
> but, how could I store my datas by write-times like A3 -> A1 -> A2
> If I could insert timestamp value before A#, the situations I described could be also happened.
> any ideas??
> (you can change row key structure if you can satisfy conditions I want to archive.)
> thanks for your concerns.