[
https://issues.apache.org/jira/browse/FALCON-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14158559#comment-14158559
]
Balu Vellanki edited comment on FALCON-773 at 10/3/14 9:42 PM:
---------------------------------------------------------------
Cluster packages are different, but we only use cluster.getName() from the
cluster packages in delete method. So I think V1 patch should work better
was (Author: bvellanki):
Cluster packages are different, but we only use cluster.getName() from the
cluster packages. So I think V1 patch should work better.
> Log clean up handlers only work in distributed mode
> ---------------------------------------------------
>
> Key: FALCON-773
> URL: https://issues.apache.org/jira/browse/FALCON-773
> Project: Falcon
> Issue Type: Bug
> Components: general
> Affects Versions: 0.5, 0.6
> Reporter: Venkatesh Seetharam
> Assignee: Balu Vellanki
> Fix For: 0.6
>
> Attachments: FALCON-773-V1.patch, FALCON-773.patch
>
>
> The code only works if the colo matches the default colo
> {code}
> if (currentCluster.getColo().equals(getCurrentColo())) {
> LOG.info("Cleaning up logs for process: {} in cluster: {}
> with retention: {}",
> processName, cluster.getName(), retention);
> delete(currentCluster, process, retention);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)