Review Board 1.7.22

FLUME-1940, FLUME-1957 - Logging Snapshots of Flume Metrics on Shutdown

Review Request #10416 - Created April 11, 2013 and updated

Israel Ekpo
FLUME-1940, FLUME-1957
Logging Metrics from the stop() method for the following components: ChannelCounter, ChannelProcessorCounter, SinkCounter, SinkProcessorCounter, SourceCounter

Review request changed
Updated (April 24, 2013, 11:16 a.m.)
Attaching changes made based on feedback from code review comments.

I also realized that the original map was not modified and this was why the error was being thrown.

In this new patch the stop and start times are printed directly and the remaining keys are printed as is from the map.
Ship it!
Posted (April 26, 2013, 8:52 a.m.)
+1, I tested this and it works great!