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)
   
![image](https://user-images.githubusercontent.com/59079269/71471031-2b084380-2809-11ea-8093-9ba425e026b3.png)
   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](https://user-images.githubusercontent.com/59079269/71471036-35c2d880-2809-11ea-85d8-0370e2810a72.png)
   

----------------------------------------------------------------
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

Reply via email to