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

Lars Hofhansl commented on TEPHRA-300:
--------------------------------------

-v2 should be committable. Fixed for all versions of HBase. 2.0 does *not* need 
this. HBase has improved its APIs there and it no longer need to produce a 
completely new scanner.
I used try-with-resource instead of
{code:java}
try { if (s != null) { s.close() } } catch (IOException ignore) {}{code}
as I think that is more concise.

> Tephra coprocessors do not close passed scanner
> -----------------------------------------------
>
>                 Key: TEPHRA-300
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-300
>             Project: Tephra
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Poorna Chandra
>            Priority: Major
>         Attachments: 300-v2.txt, 300.txt
>
>
> With HBase 1.5+ this leads to incorrect reference counting on opened HFile 
> resulting in those to never get archived.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to