[
https://issues.apache.org/jira/browse/FLUME-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281119#comment-14281119
]
Hudson commented on FLUME-2568:
-------------------------------
SUCCESS: Integrated in flume-trunk #707 (See
[https://builds.apache.org/job/flume-trunk/707/])
FLUME-2568. Additional fix for TestReliableSpoolingFileEventReader
(hshreedharan:
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=91c58804da51a551fcbbe290261810c7750ee749)
*
flume-ng-core/src/test/java/org/apache/flume/client/avro/TestReliableSpoolingFileEventReader.java
> 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)