[
https://issues.apache.org/jira/browse/FLUME-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281077#comment-14281077
]
ASF subversion and git services commented on FLUME-2568:
--------------------------------------------------------
Commit 6e9d1082e44093265af9d8e16f00b725f66ec1dc in flume's branch
refs/heads/flume-1.6 from [~hshreedharan]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=6e9d108 ]
FLUME-2568. Additional fix for TestReliableSpoolingFileEventReader
(Johny Rufus via Hari)
> Additional fix for TestReliableSpoolingFileEventReader
> ------------------------------------------------------
>
> Key: FLUME-2568
> URL: https://issues.apache.org/jira/browse/FLUME-2568
> Project: Flume
> Issue Type: Bug
> Affects Versions: v1.5.1
> Reporter: Johny Rufus
> Assignee: Johny Rufus
> Fix For: v1.6.0
>
> Attachments: FLUME-2568.patch
>
>
> TestReliableSpoolingFileEventReader needs some more modification in addition
> to the fix provided in FLUME-2505
> 1) Needed to add semaphore2 to ensure that new file gets created before the
> second listing, without this readEventsForFilesInDir() can complete before
> the new file gets created
> 2) had to remove renameTo and instead create the newfile, for the directory
> listing to pick the new file
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)