Support Questions

Find answers, ask questions, and share your expertise

Why is hbase.hstore.compaction.ratio missing from sandbox?

avatar
Master Guru

I am testing minor compaction performance and noticed the configration hbase.hstore.compaction.ratio is not available on the sandbox within hbase-site.xml. How come?

1 ACCEPTED SOLUTION

avatar
Master Collaborator

I checked two in-house clusters.

hbase.hstore.compaction.ratio wasn't in hbase-site.xml there either. We use default value.

Did you observe any undesired effect ?

View solution in original post

4 REPLIES 4

avatar
Master Collaborator

I checked two in-house clusters.

hbase.hstore.compaction.ratio wasn't in hbase-site.xml there either. We use default value.

Did you observe any undesired effect ?

avatar
Master Guru

@Ted Yu My mind drew a black about defaults. HBase will use default value unless you specifcy in ambari custom hbase site. thanks

avatar
Rising Star

You can always set it directly in hbase-site.xml, then sync across cluster. Manual work though.

avatar
Rising Star

The default value of 1.2 is good for majority of cases. You can play with enabling off peak compaction (when this ratio is set to 5 by default, as far as I remember) as well - hbase.hstore.compaction.ratio.offpeak.