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

Eldest writer is not closed when removed from WritersMap

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: storm-hdfs
    • Labels:
      None

      Description

      WritersMap only keeps maxWriters number of Writers. It will automatically remove the eldest entry to keep the number of entries in the WritersMap under maxWriters limit. But it doesn't close the removed writer, which could lead to potential data loss.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ethanli Ethan Li
                Reporter:
                ethanli Ethan Li
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 40m
                  40m