You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Olivér Szabó (JIRA)" <ji...@apache.org> on 2017/11/14 17:30:00 UTC

[jira] [Resolved] (AMBARI-22395) Log Feeder: cleanup checkpoint files periodically

     [ https://issues.apache.org/jira/browse/AMBARI-22395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivér Szabó resolved AMBARI-22395.
-----------------------------------
    Resolution: Fixed

committed to branch-2.6:
{code:java}
commit a22f66f719fd11efd5ecfec09dc5a8112f9ada1b
Author: Oliver Szabo <ol...@gmail.com>
Date:   Tue Nov 14 13:21:42 2017 +0100

    AMBARI-22395. Log Feeder: cleanup checkpoint files periodically (oleewere)
{code}

> Log Feeder: cleanup checkpoint files periodically
> -------------------------------------------------
>
>                 Key: AMBARI-22395
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22395
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-logsearch
>    Affects Versions: 2.6.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>             Fix For: 2.6.1
>
>
> - added new config: "max_age_min" (similar as detach_time_min) to input block. that stored in checkpoint files, during cleanup, based on that the checkpoint file can be deleted.
> - based on "max_age_min" value, during bootstrap, its possible logfeeder wont even monitor a file in the future.
> - created a new thread which periodically run the checkpoint cleanup (now in every 2000 minutes ... its ok to run that rearly)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)