Is there a way to cap the number of regions for an HBase table?
-
The speakers from Facebook and StumbleUpon at Hadoop World 2011 all recommended limiting a table's number of regions to a manageable number (~20). However I can't find any mention to such a configuration on the docs. I only found this open JIRA - https://issues.apache.org/jira/browse/HBASE-2844 So how is it done?
-
Answer:
There is no way to set a fixed number of regions. But you can control the number of regions by changing the maximum size of a region. This can be done by modifying the setting hbase.hregion.max.filesize (at least on version 0.20), which defaults to 256MB if I remember correctly.
Erik-Jan van Baaren at Quora Visit the source
Related Q & A:
- Is there a way to utilize a directv receiver for local HD reception without a subscription?Best solution by Yahoo! Answers
- How do I find out information on a person through their phone number?Best solution by Yahoo! Answers
- How to locate a package by its tracking number?Best solution by eHow old
- Is there a roman numeral for the number zero?Best solution by ChaCha
- What is the best way to remember all of the elements on the periodic table?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.