hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jingcheng Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13736) Add delay for the first execution of ExpiredMobFileCleanerChore and MobFileCompactorChore
Date Thu, 21 May 2015 07:22:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553775#comment-14553775
] 

Jingcheng Du commented on HBASE-13736:
--------------------------------------

Thanks [~anoopsamjohn], [~ram_krish] for the comments!
bq. Can you get the delay from conf just once and use it as 2 args?
I'm afraid it's hard to do that. We have to use super.() in the first line of the constructor
where we have to add the arguments one by one. I think we have to do it like this. Please
advise. Thanks.

> Add delay for the first execution of ExpiredMobFileCleanerChore and MobFileCompactorChore
> -----------------------------------------------------------------------------------------
>
>                 Key: HBASE-13736
>                 URL: https://issues.apache.org/jira/browse/HBASE-13736
>             Project: HBase
>          Issue Type: Sub-task
>          Components: mob
>    Affects Versions: hbase-11339
>            Reporter: Jingcheng Du
>            Assignee: Jingcheng Du
>             Fix For: hbase-11339
>
>         Attachments: HBASE-13736.diff
>
>
> Currently, the ExpiredMobFileCleanerChore and MobFileCompactorChore are executed immediately
when the master is started. At that time most of regions are not online, running these chore
is a waste. We need to add a delay for them, now in the patch, we will use the interval as
the initial delay.



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

Mime
View raw message