[ 
https://issues.apache.org/jira/browse/FLUME-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227351#comment-13227351
 ] 

Juhani Connolly commented on FLUME-1026:
----------------------------------------

Totally relevant... The problem lies in whether it is meant to be 
reconfigurable while running or if it should be stopped for reconfiguration. 
Other sinks like netcat won't switch ports when they get reconfigured.

We already know that reconfiguration while running does not work perfectly as 
is right now, another example is that when items are removed from a running 
cluster, they are not stopped(that issue is currently waiting on the rework of 
configuration that Hari is ddoing in FLUME-992)

The choice lies between accessing components in a thread safe manner or making 
all components(or at least configurable parts of them) internally thread safe. 
For the time being I will document this as the later, as some components do 
correctly change with the configuration. Whatever decision we come as to the 
final expected behavior of reconfiguring a running agent, a lot of components 
will need fixing.
                
> Document Thread Safety Guarantees
> ---------------------------------
>
>                 Key: FLUME-1026
>                 URL: https://issues.apache.org/jira/browse/FLUME-1026
>             Project: Flume
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: v1.1.0
>            Reporter: Will McQueen
>            Assignee: Juhani Connolly
>             Fix For: v1.1.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

        

Reply via email to