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

Is there a chance that TAILDIR Source skipping files?

    XMLWordPrintableJSON

Details

    • Question
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.0
    • None
    • Sinks+Sources
    • None

    Description

      We are using TAILDIR Source + Kafka Sink with following configuration:

      tuzla2kafka.sources = tuzla
      tuzla2kafka.channels = c1
      tuzla2kafka.sinks = kafka
      
      tuzla2kafka.sources.tuzla.type = TAILDIR
      tuzla2kafka.sources.tuzla.channels = c1
      tuzla2kafka.sources.tuzla.positionFile = /data/flume/positions/tuzla2kafka-taildir_position.json
      tuzla2kafka.sources.tuzla.filegroups = tuzla_fluentd
      tuzla2kafka.sources.tuzla.filegroups.tuzla_fluentd = /data/tuzla/fluentd/event_log_production.*.log
      
      tuzla2kafka.channels.c1.type = file
      tuzla2kafka.channels.c1.checkpointDir = /data/flume/file_channels/c1/checkpoint
      tuzla2kafka.channels.c1.dataDirs = /data/flume/file_channels/c1/data
      tuzla2kafka.channels.c1.capacity = 1000000
      
      tuzla2kafka.sinks.kafka.type = org.apache.flume.sink.kafka.KafkaSink
      tuzla2kafka.sinks.kafka.channel = c1
      tuzla2kafka.sinks.kafka.kafka.topic = mini-pipeline
      tuzla2kafka.sinks.kafka.kafka.bootstrap.servers = kafka1:9092,kafka2:9092
      tuzla2kafka.sinks.kafka.kafka.batchSize = 10000
      tuzla2kafka.sinks.kafka.kafka.allowTopicOverride = false
      

      Log files in tuzla2kafka.sources.tuzla.filegroups.tuzla_fluentd are rotated hourly and each one of them ~1.5GB. We're testing this configuration for 3 days and we noticed that Flume skipped 3 files in 3 days. We were not able to see 'Opening file / Closed file' in Flume logs for these 3 files. Is this a known bug? We're trying to switch from fluentd to flume and this behaviour eliminates flume as an alternative.

      Attachments

        Activity

          People

            Unassigned Unassigned
            selman Selman Kayrancioglu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: