falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-773) Log clean up handlers only work in distributed mode
Date Thu, 02 Oct 2014 17:40:33 GMT

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

Venkatesh Seetharam commented on FALCON-773:
--------------------------------------------

Should this be:

{code}
if (org.apache.falcon.util.DeploymentUtil#isEmbeddedMode || currentCluster.getColo().equals(getCurrentColo()))
{
{code}

Thoughts?

> 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
>             Fix For: 0.6
>
>
> 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