hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Varley <ivar...@salesforce.com>
Subject Re: does increasing region filesize followed by major compactions supposed to reduce number of regions?
Date Thu, 12 Jan 2012 19:03:33 GMT

The answers to your questions (and so many more!) are easily found in the HBase Reference


"Excess versions are removed during major compactions."

 - Ian "Doug Meil" Varley ;)

On Jan 12, 2012, at 10:59 AM, T Vinod Gupta wrote:

Thanks ill take a look.. meanwhile, i just decreased the versions for my
column families from 3 to 1 and triggered another compaction. does this
make hbase delete the previous versions and keep only the latest one?


On Thu, Jan 12, 2012 at 10:57 AM, kisalay <kisalay@gmail.com<mailto:kisalay@gmail.com>>


U will have to do merge of the regions after the major compact to decrease
the number of regions that you have. You can do either an online or an
offline merge.

You can pickup the online merge jruby script from the jira


On Fri, Jan 13, 2012 at 12:13 AM, T Vinod Gupta <tvinod@readypulse.com<mailto:tvinod@readypulse.com>

so there is no way to make the regions merge since they are much below
region max size?

On Thu, Jan 12, 2012 at 10:40 AM, Doug Meil

Major compactions don't change the number of regions.

On 1/12/12 1:35 PM, "T Vinod Gupta" <tvinod@readypulse.com<mailto:tvinod@readypulse.com>>

this is probably a rookie question. but my understanding is that if i
increase the region max file size and then initiate major compaction
manually, the number of regions should ideally go down by the factor
which i increased the region max file size. isn't that true? im not
that happening. ofcourse, my compaction is still underway - so i don't
if ill see region count decrease at the very end of it. major
does do region merging right?


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