When u create table this way, it will have 4 regions totally. ( , a], (a, b], (b, c], (c, ].. It is not like every RS will get 3 splits. The Load balancer in master will distribute these regions on to available RSs. So when a rk comes say a_data1, it corresponds to exactly ONE region which is in exactly ONE RS. So the client reaches that RS and region for this RK.
-Anoop- On Mon, Nov 21, 2016 at 1:59 PM, Manjeet Singh <[email protected]> wrote: > Hi All > > My question is very simple I have created my table using pre-split > as showing below > > create 'test_table', 'CF1', SPLITS=> ['a', 'b', 'c'] > > and i have 4 region server > can anyone help me how hbase distribute rowkey into the regio server please > mind I am asking resion server not regions > > what I am assuming > > based on pre-split all region will have 3 region created on on each resion > server > if one rowkey comes say a_data1, it will go on all refion server in region > where region boundry lie in between start rowekey and end rowkey > > please clear if I am on wrong assuming > > Thanks > Manjeet > > -- > luv all
