[
https://issues.apache.org/jira/browse/FLUME-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255372#comment-13255372
]
Hari Shreedharan commented on FLUME-1124:
-----------------------------------------
If there are several sinks and sources, the lifecycle supervisor for the node
can cause thread contention. There is one single thread pool with 5 threads in
the pool. Each component's monitorRunnable is scheduled to run immediately,
each of which schedules itself to run after 3 seconds. This can cause issues if
after 3 seconds some components remain to be started. They may not get started
for a long time because the executor service's threads may be busy running the
monitorRunnables which are scheduled by the initial component start runs.
I am separating the starts to a different service - which is a
SingleThreadExecutor.
> Lifecycle supervisor can cause thread contention, sometimes causing
> components to not startup.
> ----------------------------------------------------------------------------------------------
>
> Key: FLUME-1124
> URL: https://issues.apache.org/jira/browse/FLUME-1124
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.1.0
> Reporter: Hari Shreedharan
> Assignee: Hari Shreedharan
> Fix For: v1.2.0
>
>
--
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