falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandeep samudrala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1561) Add ability to set Retention coordinator frequency in Feed entity
Date Tue, 27 Oct 2015 18:18:27 GMT

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

sandeep samudrala commented on FALCON-1561:
-------------------------------------------

Lifecycle being available by 0.8 release should motivate user to migrate to lifecycle which
is the way going forward rather than hanging back on old retention. This also helps in user
adoption of life cycle and explore for richer functionalities in lifecycle easily going forward.


> Add ability to set Retention coordinator frequency in Feed entity
> -----------------------------------------------------------------
>
>                 Key: FALCON-1561
>                 URL: https://issues.apache.org/jira/browse/FALCON-1561
>             Project: Falcon
>          Issue Type: Bug
>          Components: feed
>    Affects Versions: 0.8
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>
> Today, the frequency of Retention coordinator is set to 6 hours if feed frequency is
in minutes or hours. It is set to 1 day if feed frequency is in days. In FeedRetentionCoordinatorBuilder,
 
> {code}
> TimeUnit timeUnit = entity.getFrequency().getTimeUnit();
>         if (timeUnit == TimeUnit.hours || timeUnit == TimeUnit.minutes) {
>             coord.setFrequency("${coord:hours(6)}");
>         } else {
>             coord.setFrequency("${coord:days(1)}");
>         }
> {code}
> This frequency is good default, but should be configurable in feed entity. 



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

Mime
View raw message