[
https://issues.apache.org/jira/browse/HBASE-4463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151829#comment-13151829
]
Phabricator commented on HBASE-4463:
------------------------------------
tedyu has commented on the revision "HBASE-4463 [jira] Run more aggressive
compactions during off peak hours".
This is a useful feature.
Currently off-peak time is at hour level. It would be nice to support
minute-level off-peak time.
INLINE COMMENTS
src/main/java/org/apache/hadoop/hbase/regionserver/Store.java:989
filesToCompact is overwritten here.
What about the assignment at line 980 above ?
src/main/java/org/apache/hadoop/hbase/regionserver/Store.java:1074
compactSelection.getFilesToCompact() is repeatedly called.
Shall we store the return value in a variable ?
src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactSelection.java:62
Should read 'Off-peak time'
src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactSelection.java:153
This method isn't used.
Shall we remove it ?
REVISION DETAIL
https://reviews.facebook.net/D471
> Run more aggressive compactions during off peak hours
> -----------------------------------------------------
>
> Key: HBASE-4463
> URL: https://issues.apache.org/jira/browse/HBASE-4463
> Project: HBase
> Issue Type: Improvement
> Components: regionserver
> Reporter: Karthik Ranganathan
> Assignee: Karthik Ranganathan
> Attachments: HBASE-4463.D471.1.patch
>
>
> The number of iops on the disk and the top of the rack bandwidth utilization
> at off peak hours is much lower than at peak hours depending on the
> application usage pattern. We can utilize this knowledge to improve the
> performance of the HBase cluster by increasing the compact selection ratio to
> a much larger value during off-peak hours than otherwise - increasing
> hbase.hstore.compaction.ratio (1.2 default) to
> hbase.hstore.compaction.ratio.offpeak (5 default). This will help reduce the
> average number of files per store.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira