Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2989

LogCleaner should preserve current worker.log.metrics

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 1.1.2, 1.2.1
    • Fix Version/s: 2.0.0, 1.1.3, 1.2.2
    • Component/s: None

      Description

      LogCleaner cleans up logs based on LastModified timestamp. Like 

      https://github.com/apache/storm/blob/master/storm-webapp/src/main/java/org/apache/storm/daemon/logviewer/utils/DirectoryCleaner.java#L45

       

      I think we should at least preserve the current worker.log.metrics

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ethanli Ethan Li
                Reporter:
                ethanli Ethan Li
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m