[ 
https://issues.apache.org/jira/browse/FLUME-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501523#comment-16501523
 ] 

ASF subversion and git services commented on FLUME-3222:
--------------------------------------------------------

Commit 3ada170dd01c1cbdfc6b517403b56830366ae5e5 in flume's branch 
refs/heads/trunk from [~fszabo]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=3ada170 ]

FLUME-3222 Fix for NoSuchFileException thrown when files are being deleted
from the TAILDIR source

We fetch file names from a directory and later we fetch inodes.
If there is a delete between these operations this problem occurs.
Reproduced from unit test.
Added exception handling to handle this case.
It is enough to ignore the NoSuchFileException and continue.

this closes #208

reviewers: Ferenc Szabo, Peter Turcsanyi

(Endre Major via Ferenc Szabo)


> java.nio.file.NoSuchFileException thrown when files are being deleted from 
> the TAILDIR source
> ---------------------------------------------------------------------------------------------
>
>                 Key: FLUME-3222
>                 URL: https://issues.apache.org/jira/browse/FLUME-3222
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Ferenc Szabo
>            Assignee: Endre Major
>            Priority: Major
>
> TailDirSource should handle NoSuchFileException with a WARN level log message 
> because users can delete files from the tailed directory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to