hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12923) ResultScanner is not closed in ModifyTableHandler#removeReplicaColumnsIfNeeded()
Date Mon, 26 Jan 2015 21:48:35 GMT

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

Ted Yu commented on HBASE-12923:
--------------------------------

TestLoadIncrementalHFiles passes locally with the patch.

> ResultScanner is not closed in ModifyTableHandler#removeReplicaColumnsIfNeeded()
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-12923
>                 URL: https://issues.apache.org/jira/browse/HBASE-12923
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 12923-v1.txt
>
>
> In ModifyTableHandler#removeReplicaColumnsIfNeeded():
> {code}
>       ResultScanner resScanner = metaTable.getScanner(scan);
>       for (Result result : resScanner) {
> {code}
> The ResultScanner is not closed upon exit from the method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message