falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu Vellanki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-773) Log clean up handlers only work in distributed mode
Date Fri, 03 Oct 2014 21:42:33 GMT

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

Balu Vellanki commented on FALCON-773:
--------------------------------------

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)

Mime
View raw message