hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viswanathan J <jayamviswanat...@gmail.com>
Subject Re: [Urgent] - HBase - Addition of new region servers - Presplit based
Date Mon, 19 Sep 2016 18:17:40 GMT
Thanks Eric.

So addition of new region servers will not impact the regions which I
splitted as 3 while writing and reading.

After adding 2 region servers I will change the pre-split to 5 for r/w.

On Mon, Sep 19, 2016 at 8:05 PM, Eric Pogrelis <daywalker13@gmail.com>
wrote:

> V,
>
> Regionservers (what you said you're adding) and regions are two different
> things. If you are manually splitting such that you have only 3 regions,
> then if you add additional regionservers, those regionservers may not be
> serving any regions. To put that a better way, if you have a single table
> with 3 regions, then there are only 4 regions in total -- your 3-region
> table + the region for the hbase meta table. So, if you have 5
> regionservers but only 4 regions to be served, then one regionserver will
> be idle. To take advantage of the additional regionservers you would want
> to modify your split such that there are enough regions that all the
> regionservers have a region to serve.
>
> On Mon, Sep 19, 2016 at 9:16 AM, Viswanathan J <jayamviswanathan@gmail.com
> > wrote:
>
>> Thanks Eric for the update.
>>
>> Re-balancing will happen automatically, but while writing/reading in
>> HBase we're forming the rowkey by pre-splitting based on 3 regions. So if I
>> add new regions to the cluster while reading data from 5 rs it will be
>> impacted because written data only on 3 regions?
>>
>> Thanks,
>> Viswa.J
>>
>> On Sun, Sep 18, 2016 at 11:17 PM, Eric Pogrelis <daywalker13@gmail.com>
>> wrote:
>>
>>> Absent other changes, the existing regions will simply be re-balanced
>>> across the new region server count of 5.
>>>
>>> On Fri, Sep 16, 2016 at 9:46 AM, Viswanathan J <
>>> jayamviswanathan@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Currently I have 3 region servers and reading/storing data based on
>>>> pre-split(hashing). If I need to add 2 more region servers how it will
>>>> impact while reading and writing the data. Because currently pre-split
>>>> hashing only based on 3 rs.
>>>>
>>>> Please help.
>>>>
>>>> --
>>>> Regards,
>>>> Viswa.J
>>>>
>>>> --
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "CDH Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to cdh-user+unsubscribe@cloudera.org.
>>>> For more options, visit https://groups.google.com/a/cl
>>>> oudera.org/d/optout.
>>>>
>>>
>>> --
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "CDH Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cdh-user+unsubscribe@cloudera.org.
>>> For more options, visit https://groups.google.com/a/cl
>>> oudera.org/d/optout.
>>>
>>
>>
>>
>> --
>> Regards,
>> Viswa.J
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CDH Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cdh-user+unsubscribe@cloudera.org.
>> For more options, visit https://groups.google.com/a/cloudera.org/d/optout
>> .
>>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CDH Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cdh-user+unsubscribe@cloudera.org.
> For more options, visit https://groups.google.com/a/cloudera.org/d/optout.
>



-- 
Regards,
Viswa.J

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message