|
|
-
Re: Review Request: FLUME-1296: Lifecycle supervisor should check if the monitor service is still running before supervising and also make sure shutdown of monitor service happens before component is stopped.Brock Noland 2012-12-06, 22:17
----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/5467/#review14111 ----------------------------------------------------------- I like the change, just one question below. flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleSupervisor.java <https://reviews.apache.org/r/5467/#comment30177> I'd think we would thrown an exception here? Is there a case where this comes up and it's not a programming error? - Brock Noland On June 21, 2012, 12:55 a.m., Hari Shreedharan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/5467/ > ----------------------------------------------------------- > > (Updated June 21, 2012, 12:55 a.m.) > > > Review request for Flume. > > > Description > ------- > > * Checks to make sure the supervisor is still running, before supervising more components > * Make sure shutdown of monitor threads happen before the component's stop() is called. > > > This addresses bug FLUME-1296. > https://issues.apache.org/jira/browse/FLUME-1296 > > > Diffs > ----- > > flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleSupervisor.java 2935e64 > > Diff: https://reviews.apache.org/r/5467/diff/ > > > Testing > ------- > > All current unit tests pass. Ran an agent with a dummy sink that never starts but checks thread interrupt every 5 seconds - works fine. > > > Thanks, > > Hari Shreedharan > > +
Hari Shreedharan 2012-12-10, 19:21
+
Hari Shreedharan 2012-12-10, 20:28
+
Brock Noland 2012-12-10, 20:37
|