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

TailDirSource will write an empty position when

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.0
    • None
    • Sinks+Sources
    • None
    • jdk 1.8

      flume 1.9.0 

      centos 7 

      Number of files generated during reading that are larger than the system limit

       

    Description

      When the number of files exceeds the maximum number of files allowed by the system.

      taildirSource throw Exception:

      java.io.FileNotFoundException: position/taildir_position.json (Too many open files)

      the reason:

      If an exception occurs while FileWriter writing to the file, whereafter call FileWriter close method ,the file will be cleared. This is FileWriter characteristic.

       

      Attachments

        1. flume-conf.properties
          27 kB
          wangjianda
        2. image-2019-12-26-17-43-24-933.png
          105 kB
          wangjianda
        3. image-2019-12-26-17-45-07-945.png
          25 kB
          wangjianda
        4. image-2019-12-26-17-45-13-704.png
          105 kB
          wangjianda

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wangjianda wangjianda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 30h
                  30h
                  Remaining:
                  Time Spent - 0.5h Remaining Estimate - 29.5h
                  29.5h
                  Logged:
                  Time Spent - 0.5h Remaining Estimate - 29.5h
                  0.5h