You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flume.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/06/05 08:31:00 UTC
[jira] [Commented] (FLUME-3222) java.nio.file.NoSuchFileException
thrown when files are being deleted from the TAILDIR source
[ https://issues.apache.org/jira/browse/FLUME-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501473#comment-16501473 ]
ASF subversion and git services commented on FLUME-3222:
--------------------------------------------------------
Commit 61f43aab5d240db07ca84d545e9e6c95334df435 in flume's branch refs/heads/trunk from [~fszabo]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=61f43aa ]
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.
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: issues-unsubscribe@flume.apache.org
For additional commands, e-mail: issues-help@flume.apache.org