You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by Hari Shreedharan <hs...@cloudera.com> on 2012/06/21 02:55:06 UTC
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.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5467/
-----------------------------------------------------------
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
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.
Posted by Brock Noland <br...@cloudera.com>.
-----------------------------------------------------------
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
>
>
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.
Posted by Alexander Alten-Lorenz <al...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5467/#review13140
-----------------------------------------------------------
Ship it!
Ship It!
- Alexander Alten-Lorenz
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
>
>
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.
Posted by Brock Noland <br...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5467/#review14259
-----------------------------------------------------------
Ship it!
Ship It!
- Brock Noland
On Dec. 10, 2012, 7:21 p.m., Hari Shreedharan wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/5467/
> -----------------------------------------------------------
>
> (Updated Dec. 10, 2012, 7:21 p.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 78eda05
>
> 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
>
>
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.
Posted by Hari Shreedharan <hs...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5467/#review14253
-----------------------------------------------------------
flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleSupervisor.java
<https://reviews.apache.org/r/5467/#comment30396>
Agreed.
- Hari Shreedharan
On Dec. 10, 2012, 7:21 p.m., Hari Shreedharan wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/5467/
> -----------------------------------------------------------
>
> (Updated Dec. 10, 2012, 7:21 p.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 78eda05
>
> 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
>
>
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.
Posted by Hari Shreedharan <hs...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5467/
-----------------------------------------------------------
(Updated Dec. 10, 2012, 7:21 p.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 (updated)
-----
flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleSupervisor.java 78eda05
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