Reputation: 974
Is there a way to change the start-key & end-key of region-servers in an existing HBase table.
Through hbase shell or any other way?
thanks
Upvotes: 0
Views: 1016
Reputation: 602
Region 1 : A -> B
Region 2 : C -> D
If you want for example to change Region 2 Start-key and end-key, You can merge it with the region 1 then split the result region :
merge_region 'region1_encoded_id’,'region2_encoded_id’
split ‘region1Name’
balancer
if region name is like : myHTable,,1414702482831.13e9520e27a1f282e1da7f0779a89e08. your region_encoded_id will be : 13e9520e27a1f282e1da7f0779a89e08
Upvotes: 1
Reputation: 1942
no there is nothing to edit the range of region, but you can use split and merge to end up with the result that you want.
Upvotes: 0