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

SpoolDirectorySource performs poorly when there are thousands of files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Trivial
    • Resolution: Unresolved
    • 1.4.0
    • None
    • Sinks+Sources
    • Flume 1.4.0 running on Ubuntu 12.04.2 LTS x86_64

    Description

      org.apache.flume.client.avro.ReliableSpoolingFileEventReader.getNextFile() spikes the CPU when there are thousands of files in the spoolDirectory. So much so that the source was unable to keep up and even more files started accumulating.

      Attachments

        1. FLUME-2180-0.patch
          2 kB
          Mike Hobbs

        Activity

          People

            Unassigned Unassigned
            mhobbs Mike Hobbs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: