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

Mike Percy commented on FLUME-1321:
-----------------------------------

Well, to enforce it via API (like make doClose() abstract) I think it's a 2.0 
change, but getting these semantics due to implementations adhering to some new 
API rules should be doable in 1.x I think...
                
> BasicTransactionSemantics should never throw from close()
> ---------------------------------------------------------
>
>                 Key: FLUME-1321
>                 URL: https://issues.apache.org/jira/browse/FLUME-1321
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.1.0
>            Reporter: Mike Percy
>             Fix For: v1.4.0
>
>         Attachments: FLUME-1321.2.patch, FLUME-1321.patch
>
>
> Currently, BasicTransactionSemantics can throw from close(). This means that 
> exceptions will be clobbered in cases where unexpected exceptions are thrown, 
> since close() is idiomatically called in a finally block.

--
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

Reply via email to