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

Switch to Threaded View
Flume, mail # dev - Review Request 16179: Patch for FLUME-2246 - event body data size can make it configurable for logger sinker


Copy link to this message
-
Review Request 16179: Patch for FLUME-2246 - event body data size can make it configurable for logger sinker
Ashish Paliwal 2013-12-11, 09:58

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

Review request for Flume.
Bugs: FLUME-2246
    https://issues.apache.org/jira/browse/FLUME-2246
Repository: flume-git
Description
-------

Added configuration options to let user select the max bytes to dump in log file. Default stays at 16 bytes.

Change summary
Made LoggerSink implement configurable
user can provide maxByteToDump using configuration
User Guide updated
Diffs
-----

  flume-ng-core/src/main/java/org/apache/flume/sink/LoggerSink.java 128fa84
  flume-ng-core/src/test/java/org/apache/flume/sink/TestLoggerSink.java 92ff6fe
  flume-ng-doc/sphinx/FlumeUserGuide.rst ae66f89

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

Added test case that sets option to a value higher than 30 and use a string of length greater than 16 in output.
Thanks,

Ashish Paliwal