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

pavan kumar kolamuri commented on FALCON-1561:
----------------------------------------------

[~bvellanki]  LifeCycle addresses this issue. Can you please check if it solves 
the use case. 

> 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)

Reply via email to