Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> Review Request: Fix for issue FLUME-1993, access violation in Windows with spoolDir source.


Copy link to this message
-
Review Request: Fix for issue FLUME-1993, access violation in Windows with spoolDir source.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10607/
-----------------------------------------------------------

Review request for Flume.
Description
-------

After checking that the meta file is tracking the right target, don't create a new instance unless it's needed. Otherwise a new instance is requested while the old one is still open for read/write which triggers access exception in Windows.
This addresses bug FLUME-1993.
    https://issues.apache.org/jira/browse/FLUME-1993
Diffs
-----

  flume-ng-core/src/main/java/org/apache/flume/client/avro/ReliableSpoolingFileEventReader.java 37f0ee1

Diff: https://reviews.apache.org/r/10607/diff/
Testing
-------

Unit tests not run. Functional testing for this specific issue has been done on Windows Server 2008 R2
Thanks,

Paul Chavez