hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samir Ahmic <ahmic.sa...@gmail.com>
Subject Re: Will hbase automatically distribute the data across region servers or NOT..??
Date Fri, 23 Aug 2013 12:26:34 GMT
Hi Vamshi,

What version of hbase you are using ? Regarding *hbase.hregion.max.filesize
*property from hbase-site.xml you should check this from hbase-default.xml :

    <value>*1073741824*0</value> ****value is in bytes*
    Maximum HStoreFile size. If any one of a column families' HStoreFiles
    grown to exceed this value, the hosting HRegion is split in two.
    Default: 10G.

Your have configured 100 bytes that is to very small value for region size
that is why you ended with 215 regions for such small amount of data.
Regarding region distribution hbase balancer sholud take care that regions
are evenly distributed on servers. If you want to check is balance is
enabled (it is by default) you can go to hbase shell and run
'balance_switch' command.


On Fri, Aug 23, 2013 at 1:47 PM, Vamshi Krishna <vamshi2105@gmail.com>wrote:

> Hi all,
>         I set up 2 node hbase cluster and i created a table and pumped
> 10million records. I set the in hbase-site.xml the following property as
> shown.
> <property>
>         <name>hbase.hregion.max.filesize</name>
>         <value>100</value>
>     </property>
> [Over written the default 256MB with 100MB ].
> I am sure, the data i inserted into hbase table would be more than 100MB.
> In this case  will not hbase automatically distribute the multiple regions
> resulted in after region splitting, across the region servers..??
> In my case, I see all the 215 regions with above property set to 50MB,
> residing on the same machine, where I am running master and region server.
> Do we need to distribute the data explicitly by any means..?
> I guess that should be done automatically by load balancer of Hbase ,
> right?
> Please someone help me..!
> --
> *Regards*
> *
> Vamshi Krishna
> *

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