Fix issues with rollsink for slow/blocked append
Review Request #2869 - Created Nov. 17, 2011 and updated
If the append takes longer than a second, then the roll-trigger thread aborts the append. This results into an interrupted exception that is not handled gracefully and hence causes a nullpointer exception in the pumper thread. Change the interrupted exception to Runtime so that it can be handled by direct driver. There were a couple of other related issues that are also fixed in the roll sink. Also it allows the wait time for trigger thread can be configured via flume.collector.roll.timeout property in flume-conf.xml.
Added new test TestSlowSinkRoll. will run full regression test.