You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Venkatesh Seetharam (JIRA)" <ji...@apache.org> on 2014/10/02 19:40:33 UTC

[jira] [Commented] (FALCON-773) Log clean up handlers only work in distributed mode

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