Re: RowLocks

2013-08-28 Thread Chris Perluss
You could add an "isLocked" column to your row. When you want to lock or update your row then use checkAndPut and check that "isLocked"=0. When unlocking your row then checkAndPut that "isLocked"=1. You will have effectively locked the row for the purposes of your application without affecting HB

Re: Data Deduplication in HBase

2013-08-28 Thread Chris Perluss
It might help to pick a granularity level. For example let's suppose you pick a granularity level of 0.1. Any piece of the song you receive should be broken down into segments of 0.1 and they need to be aligned on 0.1. Example: you receive a piece of the song from 0.65 to 0.85. You would break th

Re: Pack rows into a wide row for better performance?

2013-08-27 Thread Chris Perluss
Sorry, accidentally hit send. I'm guessing a 10 minute time slice would drop their space savings from 4-8x down to 2-4x. On Aug 27, 2013 11:30 PM, "Chris Perluss" wrote: > I'm still kinda new to HBase so please excuse me if I am wrong. I suspect > the reason has to

Re: Pack rows into a wide row for better performance?

2013-08-27 Thread Chris Perluss
I'm still kinda new to HBase so please excuse me if I am wrong. I suspect the reason has to do with a different slide from their presentation where they run a job every hour to combine all the cells from the previous hour into one cell. OpenTSDB has quite a long row key. It contains the metric na