Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22395

Log Feeder: cleanup checkpoint files periodically

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.1
    • ambari-logsearch
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              oleewere Oliver Szabo
              oleewere Oliver Szabo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: