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

Switch to Threaded View
Flume >> mail # dev >> Review Request 15899: FLUME-2056 Allow SpoolDir to pass just the filename that is the source of an event


Copy link to this message
-
Review Request 15899: FLUME-2056 Allow SpoolDir to pass just the filename that is the source of an event

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

Review request for Flume, Hari Shreedharan and Mike Percy.
Repository: flume-git
Description
-------

Pretty simple patch which adds a boolean config basenameHeader to SpoolDirSource.
This will allow for loading the basename of the file that the event was created from in the headers.
Diffs
-----

  flume-ng-core/src/main/java/org/apache/flume/client/avro/ReliableSpoolingFileEventReader.java bd684ed
  flume-ng-core/src/main/java/org/apache/flume/source/SpoolDirectorySource.java 72c4059
  flume-ng-core/src/main/java/org/apache/flume/source/SpoolDirectorySourceConfigurationConstants.java 7bfb0ee
  flume-ng-core/src/test/java/org/apache/flume/source/TestSpoolDirectorySource.java 837cf15
  flume-ng-doc/sphinx/FlumeUserGuide.rst 0f12427

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

Added Unit Test.
Thanks,

Jeff jlord