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

Lars Hofhansl commented on HBASE-7481:
--------------------------------------

We'd like that in 0.94. It would change the filter API, but we never said it is 
a stable public just like we don't say that for coprocessors (and frankly 
without this it's hard to write useful custom filters, because you cannot 
control failure behavior).

A patch here would involve adding a {{throws IOException}} clause to every 
Filter method.
(And actually that does not mean that implementations (or subclasses in trunk) 
have to declare that throws clause as well).

                
> throw IOExceptions from Filter methods?
> ---------------------------------------
>
>                 Key: HBASE-7481
>                 URL: https://issues.apache.org/jira/browse/HBASE-7481
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>
> Currently there is no way to throw custom IOExceptions from any of the filter 
> methods.
> For implementers of custom filters that presents a problem.
> For example there are scenarios where the filter would want to indicate to 
> the client that there it should not retry. Currently there is no way of doing 
> that.

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