[
https://issues.apache.org/jira/browse/FLUME-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257254#comment-13257254
]
[email protected] commented on FLUME-1136:
------------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4800/
-----------------------------------------------------------
Review request for Flume.
Summary
-------
Using futures to cancel the monitor threads, instead of remove.
This addresses bug FLUME-1136.
https://issues.apache.org/jira/browse/FLUME-1136
Diffs
-----
flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleSupervisor.java
8978087
Diff: https://reviews.apache.org/r/4800/diff
Testing
-------
Unit tests pass. Functional testing done.
Thanks,
Hari
> Remove from executor service does not always remove the runnables from the
> queue
> --------------------------------------------------------------------------------
>
> Key: FLUME-1136
> URL: https://issues.apache.org/jira/browse/FLUME-1136
> Project: Flume
> Issue Type: Bug
> Components: Node
> Affects Versions: v1.1.0
> Reporter: Hari Shreedharan
> Assignee: Hari Shreedharan
> Priority: Minor
> Fix For: v1.2.0
>
>
> It seems like ScheduledThreadPoolExecutor's remove() function sometimes does
> not remove the runnable specified. This does not cause any functionality
> problems, just spills lot of stuff into logs during reconfiguration, and can
> cause runnables to be executed unnecessarily, even though they return
> immediately.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira