logging-flume
logging-flume copied to clipboard
FLUME-3348:TailDirSource will write an empty position when
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.

I had the same problem