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

Switch to Threaded View
HBase >> mail # user >> HBase split policy

Copy link to this message
RE: HBase split policy
>What will trigger the split?
The things which can trigger a split
1. Explicit split call from the client side using admin API
2. A memstore flush
3. A compaction

So even though there is no write operations happening on the region (no flushes) still a compaction performed for that region can trigger split.  May be in your case compaction happened for some of the regions and resulted in split...

From: Jean-Marc Spaggiari [[EMAIL PROTECTED]]
Sent: Wednesday, January 23, 2013 8:09 AM
Subject: Re: HBase split policy

Another related question.

What will trigger the split?

I mean, I merge all the regions in a single one, split that in 4 2.5GB
regions, alter it to set maxsize to 300MB and enable the table. I
don't do anything. No put, no get. What will trigger the regions

I have one small table, about 1.2GB with 8M lines. I merged it in a
single region, and setup the maxsize to the 12MB. It got almost
split... All the regions got split except one.

Here is the screenshot: http://imageshack.us/photo/my-images/834/hannibalb.png/

It's not the first region, not the last. There is nothing specific
with this region, and it's not getting split.

Any idea why, and how I can trigger the split without putting any data
into the date?