yes, there is a property in hbase-site.xml
check the property which is named 'hbase.hregion.majorcompaction'
if you set it to value 0, there will be no automatic compactions.
2012. 8. 9., 오후 7:43, Richard Tang 작성:
> I am using hbase 0.92.1 and want to disable compaction (both major and
> minor
That is right. I have tried following properties, in conf/hbase-site.xml.
It looks it works to disable both major and minor (in some sense)
compactions.
Note these properties are defined in src/main/resources/hbase-default.xml,
but putting the property there without recompiling the src, it will not
Richard,
The property disables major compactions from happening automatically.
However, if you choose to do this, you should ensure you have a cron
job that does trigger major_compact on all tables - for compaction is
a necessary thing, but you just do not want it to happen at any time
it likes to
Harsh is right. You find the wrong place.
regards!
Yong
On Sun, Aug 12, 2012 at 1:40 PM, Harsh J wrote:
> Richard,
>
> The property disables major compactions from happening automatically.
> However, if you choose to do this, you should ensure you have a cron
> job that does trigger major_compa