|
|
-
Issues on disabling compaction in HBase 0.94.2
yun peng 2012-11-22, 23:50
Hi, I want to disable automatic compaction in HBase. Currently I used following configurations in conf/hbase-site.xml The problem is compaction does not really be disable. As write are issued into HBase, it can be observed when there is a flush to HFile, it will trigger a compaction. Do I miss anything from following xml configurables. Regards, Yun
<property> <name>hbase.hregion.max.filesize</name> <value>10737418240000</value> </property> <property> <name>hbase.hstore.compactionThreshold</name> <value>100</value> </property> <property> <name>hbase.hstore.blockingStoreFiles</name> <value>100</value> </property> <property> <name>hbase.hstore.blockingWaitTime</name> <value>90000</value> </property> <property> <name>hbase.hstore.compaction.max</name> <value>100</value> </property> <property> <name>hbase.hregion.majorcompaction</name> <value>0</value> </property> <property> <name>hbase.hstore.compaction.min</name> <value>10000</value> </property> <property> <name>hbase.hstore.compaction.max</name> <value>10001</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property>
-
Re: Issues on disabling compaction in HBase 0.94.2
ramkrishna vasudevan 2012-11-23, 04:06
Hi Yun,
Are you trying to disable Minor compactions?
Regards Ram
On Fri, Nov 23, 2012 at 5:20 AM, yun peng <[EMAIL PROTECTED]> wrote:
> Hi, I want to disable automatic compaction in HBase. Currently I used > following configurations in conf/hbase-site.xml > The problem is compaction does not really be disable. As write are issued > into HBase, it can be observed when there is a > flush to HFile, it will trigger a compaction. Do I miss anything from > following xml configurables. > Regards, > Yun > > <property> > <name>hbase.hregion.max.filesize</name> > <value>10737418240000</value> > </property> > <property> > <name>hbase.hstore.compactionThreshold</name> > <value>100</value> > </property> > <property> > <name>hbase.hstore.blockingStoreFiles</name> > <value>100</value> > </property> > <property> > <name>hbase.hstore.blockingWaitTime</name> > <value>90000</value> > </property> > <property> > <name>hbase.hstore.compaction.max</name> > <value>100</value> > </property> > <property> > <name>hbase.hregion.majorcompaction</name> > <value>0</value> > </property> > <property> > <name>hbase.hstore.compaction.min</name> > <value>10000</value> > </property> > <property> > <name>hbase.hstore.compaction.max</name> > <value>10001</value> > </property> > <property> > <name>dfs.replication</name> > <value>1</value> > </property> >
-
Re: Issues on disabling compaction in HBase 0.94.2
PG 2012-11-25, 06:36
Hi, I have figured out the problem... The XML snippet in previous email works for HBase 092 but not for 094. By consulting HBase-default.xml, it can be done to disable all compact ions. Thanks all the same. Regards, Yun
On Nov 22, 2012, at 11:06 PM, ramkrishna vasudevan <[EMAIL PROTECTED]> wrote:
> Hi Yun, > > Are you trying to disable Minor compactions? > > Regards > Ram > > On Fri, Nov 23, 2012 at 5:20 AM, yun peng <[EMAIL PROTECTED]> wrote: > >> Hi, I want to disable automatic compaction in HBase. Currently I used >> following configurations in conf/hbase-site.xml >> The problem is compaction does not really be disable. As write are issued >> into HBase, it can be observed when there is a >> flush to HFile, it will trigger a compaction. Do I miss anything from >> following xml configurables. >> Regards, >> Yun >> >> <property> >> <name>hbase.hregion.max.filesize</name> >> <value>10737418240000</value> >> </property> >> <property> >> <name>hbase.hstore.compactionThreshold</name> >> <value>100</value> >> </property> >> <property> >> <name>hbase.hstore.blockingStoreFiles</name> >> <value>100</value> >> </property> >> <property> >> <name>hbase.hstore.blockingWaitTime</name> >> <value>90000</value> >> </property> >> <property> >> <name>hbase.hstore.compaction.max</name> >> <value>100</value> >> </property> >> <property> >> <name>hbase.hregion.majorcompaction</name> >> <value>0</value> >> </property> >> <property> >> <name>hbase.hstore.compaction.min</name> >> <value>10000</value> >> </property> >> <property> >> <name>hbase.hstore.compaction.max</name> >> <value>10001</value> >> </property> >> <property> >> <name>dfs.replication</name> >> <value>1</value> >> </property> >>
|
|