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

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

Commit 91c58804da51a551fcbbe290261810c7750ee749 in flume's branch 
refs/heads/trunk from [~hshreedharan]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=91c5880 ]

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)

Reply via email to