Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1856

HDFS sink idleTimeout does not close removed BucketWriters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.4.0, 1.3.1
    • None
    • Sinks+Sources
    • None

    Description

      When a BucketWriter idles out, it is removed from the bucket list but it is never closed. Optimal solution will be to override LinkedHashMap.remove similar to the removeEldestEntry code to close the bucket.

      The effects of this not happening is that if you rely on idleTimeout for closing buckets (such as setting no roll period and attempting to roll via timestamped path), as the buckets never get closed the data never goes to s3 and so the heap gets very full.

      Attachments

        1. FLUME-1856-0.patch
          1 kB
          Gopinathan A

        Activity

          People

            gopinathan.av Gopinathan A
            cd-wood Connor Woodson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: