hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Rodionov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-14609) Can't config all day as OffPeakHours
Date Thu, 15 Oct 2015 03:52:05 GMT

     [ https://issues.apache.org/jira/browse/HBASE-14609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Rodionov resolved HBASE-14609.
---------------------------------------
    Resolution: Invalid

24 off peak hours do not make sense. If someone needs more aggressive compaction 24 hours
a day - increase *hbase.hstore.compaction.ratio*.

> Can't config all day as OffPeakHours
> ------------------------------------
>
>                 Key: HBASE-14609
>                 URL: https://issues.apache.org/jira/browse/HBASE-14609
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Minor
>
> The offpeak hours is [startHour, endHour) and endhour is exclusive. But endHour is not
valid when config as 24, so we can't config all day as OffPeakHours.
> {code}
>   private static boolean isValidHour(int hour) {
>     return 0 <= hour && hour <= 23; 
>   }
> {code}
> Let endHour=24 is valid or  enable startHour==endHour can fix this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message