hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Segel <michael_se...@hotmail.com>
Subject Re: how to pre split a table whose row key is MD5(url)?
Date Mon, 12 May 2014 22:41:36 GMT
Meh.
Did this before my morning coffee. 
You get the idea. ;-) 

On May 12, 2014, at 2:37 AM, Li Li <fancyerii@gmail.com> wrote:

> thanks. I will try this.
> by the way, byte range is -128 - 127
> 
> On Mon, May 12, 2014 at 6:13 AM, Michael Segel
> <michael_segel@hotmail.com> wrote:
>> Simple answer… you really can’t.
>> The best thing you can do is to pre split the table in to 4 regions based on splitting
the first byte in to 4 equal ranges. (0-63,64-127,128-191,191-255)
>> 
>> And hope that you’ll have an even split.
>> 
>> In theory, over time you will.
>> 
>> 
>> On May 8, 2014, at 1:58 PM, Li Li <fancyerii@gmail.com> wrote:
>> 
>>> say I have 4 region server. How to pre split a table using MD5 as row key?
>>> 
>> 
> 


Mime
View raw message