ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivér Szabó (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-22395) Log Feeder: cleanup checkpoint files periodically
Date Tue, 14 Nov 2017 17:30:00 GMT

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

Mime
View raw message