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

Switch to Threaded View
Flume >> mail # dev >> Review Request: StressSource Batching bug

Copy link to this message
Re: Review Request: StressSource Batching bug

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 12, 2012, 11:08 p.m.)
Review request for Flume.

Updated the code and test to fix the problem.

If maxTotalEvents is -1 then don't ask how many are left.
Also added a junit that tests the case where maxTotalEvents is not defined in the config.
This addresses bug FLUME-1570.
Diffs (updated)

  flume-ng-core/src/main/java/org/apache/flume/source/StressSource.java b4a00f5
  flume-ng-core/src/test/java/org/apache/flume/source/TestStressSource.java e98a46f

Diff: https://reviews.apache.org/r/7059/diff/

Ted Malaska