i have a problem while write data in hbase.I have 4 region server.when i write data and use radom key ,data write to any region but they are in one region server.One server are busy, three server are free.How do write regularity in all region server.
Asked
Active
Viewed 233 times
1 Answers
0
HBase partitions it's tables across region servers. See :
- How HBase partitions table across regionservers?
- http://www.larsgeorge.com/2009/10/hbase-architecture-101-storage.html
I am not sure how random or far apart your random key should be to be able to write to different partitions.
See discussions on hbase.hregion.max.filesize
and base.hregion.maxfilesize
which suggests that tables are split to new regions when the appropriate data size has been reached.