hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18073) ScheduledChore with delay longer than period never runs
Date Thu, 18 May 2017 18:08:04 GMT

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

Josh Elser updated HBASE-18073:
-------------------------------
    Priority: Minor  (was: Major)

> ScheduledChore with delay longer than period never runs
> -------------------------------------------------------
>
>                 Key: HBASE-18073
>                 URL: https://issues.apache.org/jira/browse/HBASE-18073
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>
> (Obligatory: saw this on a fork -- need to confirm if this affects the Apache branches,
and which branches if so)
> If a ScheduledChore is configured with a delay that is longer than the period, the Chore
never actually gets run, instead repeatedly complains that the Chore missed its start time.
> {noformat}
> 2017-05-18 17:17:06,606 TRACE [server.com,16020,1495125783052_ChoreService_1] hbase.ChoreService:
onChoreMissedStartTime
> 2017-05-18 17:17:06,612 TRACE [server.com,16020,1495125783052_ChoreService_1] hbase.ChoreService:
Chore name: FileSystemUtilizationChore
> 2017-05-18 17:17:06,612 TRACE [server.com,16020,1495125783052_ChoreService_1] hbase.ChoreService:
Chore period: 30000
> 2017-05-18 17:17:06,612 TRACE [server.com,16020,1495125783052_ChoreService_1] hbase.ChoreService:
Chore timeBetweenRuns: 60000
> 2017-05-18 17:17:06,612 INFO  [server.com,16020,1495125783052_ChoreService_1] quotas.FileSystemUtilizationChore:
Chore: FileSystemUtilizationChore missed its start time
> {noformat}
> It seems like this might be an edge-case for the first invocation of the chore. Need
to read the code closer.
> The workaround is to just ensure that the delay is always less than the period.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message