Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FB9F1759F for ; Fri, 3 Oct 2014 07:42:55 +0000 (UTC) Received: (qmail 29557 invoked by uid 500); 3 Oct 2014 07:42:55 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 29506 invoked by uid 500); 3 Oct 2014 07:42:55 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 29495 invoked by uid 99); 3 Oct 2014 07:42:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 07:42:55 +0000 X-ASF-Spam-Status: No, hits=-2000.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Oct 2014 07:42:54 +0000 Received: (qmail 29468 invoked by uid 99); 3 Oct 2014 07:42:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 07:42:34 +0000 Date: Fri, 3 Oct 2014 07:42:33 +0000 (UTC) From: "Shaik Idris Ali (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FALCON-773) Log clean up handlers only work in distributed mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14157769#comment-14157769 ] Shaik Idris Ali commented on FALCON-773: ---------------------------------------- +1, LGTM. > 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.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)