Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Question about regions splitting


Copy link to this message
-
Re: Question about regions splitting
Jimmy Xiang 2012-07-20, 21:56
At the very beginning, the two daughter regions are on the same region
server as the parent region.
But they can be moved to other region servers by region balancer.

HFiles of a region may not be on the same host as the region.

Thanks,
Jimmy

On Fri, Jul 20, 2012 at 2:44 PM, Haijia Zhou <[EMAIL PROTECTED]> wrote:
> I have a question about how regions split.
> Let's say we have a 2GB region and upon splitting the region will be
> splitted into two 1GB sub-regions.
> My first question is: will the two 1GB sub-regions always be on the same
> host as the parent region?
> My second question is: Let's say the HDFS block size is 64MB, then one 1GB
> region will contains about 16 HDFS blocks, will all HDFS blocks always be
> on the same host as the region?
>
> Thanks