felix-thinkingdata opened a new pull request #313: FLUME-3348:TailDirSource will write an empty position when URL: https://github.com/apache/flume/pull/313 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. 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services