Support Questions

Find answers, ask questions, and share your expertise

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

Super 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

Super 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

Super 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 ?

Super Guru

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

Contributor

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

Contributor

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.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.