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 (JIRA)" <ji...@apache.org> on 2013/04/09 19:00:19 UTC

[jira] [Updated] (FLUME-1981) Rpc client expiration can be done in a more thread-safe way

     [ https://issues.apache.org/jira/browse/FLUME-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hari Shreedharan updated FLUME-1981:
------------------------------------

    Attachment: FLUME-1981.patch

Simple patch, skipping rb.
                
> Rpc client expiration can be done in a more thread-safe way
> -----------------------------------------------------------
>
>                 Key: FLUME-1981
>                 URL: https://issues.apache.org/jira/browse/FLUME-1981
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>         Attachments: FLUME-1981.patch
>
>
> If the destroyConnection() call happens just before a client.append() or client.getBatchSize(), it is possible that an EventDeliveryException is thrown which is caused by an NPE (since destroyConnection() will set client to null). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira