Skip to content

Conversation

felix-thinkingdata
Copy link

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)
image
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.
image

felix-thinkingdata and others added 2 commits December 20, 2019 17:33
…er call FileWriter close method ,the file will be cleared. This is FileWriter characteristic.
fix src/main/java/org/apache/flume/source/taildir/TaildirSource.java:[23,8] (imports) UnusedImports: Unused import - java.io.FileWriter.
@hackallan
Copy link

I had the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants