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

Hudson commented on FLUME-1993:
-------------------------------

Integrated in flume-trunk #396 (See 
[https://builds.apache.org/job/flume-trunk/396/])
    FLUME-1993. Fix spooldir tracker file sharing violation on Windows. 
(Revision 6662b34c03511be65cdad8ead04860f7b0ab5fa6)

     Result = FAILURE
mpercy : 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=6662b34c03511be65cdad8ead04860f7b0ab5fa6
Files : 
* 
flume-ng-core/src/main/java/org/apache/flume/client/avro/ReliableSpoolingFileEventReader.java

                
> On Windows, when using the spooling directory source, there is a file sharing 
> violation when trying to delete tracker file
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLUME-1993
>                 URL: https://issues.apache.org/jira/browse/FLUME-1993
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.4.0
>            Reporter: Phil Scala
>            Assignee: Paul Chavez
>             Fix For: v1.4.0
>
>         Attachments: FLUME-1993.patch, ReliableSpoolingFileEventReader.java, 
> ReliableSpoolingFileEventReader.java.patch
>
>
> spooling directory source
> org.apache.flume.client.avro.ReliableSpoolingFileEventReader.getNextFile() 
> Gets an instance of a DurablePositionTracker and is not calling close() on it 
> before then creating another instance... thus not calling close on the 
> underlying DataFileWriter.  This left the file locked in Windows and hence 
> any delete attempts were failing...causing the Agent to spin around and 
> around trying to delete this file and creating endless numbers of the 
> temporary tracker files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to