- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Why is hbase.hstore.compaction.ratio missing from sandbox?
- Labels:
-
Apache HBase
Created 05-20-2016 07:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Created 05-20-2016 07:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
Created 05-20-2016 07:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
Created 05-20-2016 09:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Ted Yu My mind drew a black about defaults. HBase will use default value unless you specifcy in ambari custom hbase site. thanks
Created 05-20-2016 08:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can always set it directly in hbase-site.xml, then sync across cluster. Manual work though.
Created 05-20-2016 09:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
