You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2017/07/19 16:10:00 UTC

[jira] [Resolved] (HBASE-16090) ResultScanner is not closed in SyncTable#finishRemainingHashRanges()

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

Sean Busbey resolved HBASE-16090.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.7
                   1.3.2
     Release Note: pushed to 1.3 and 1.2. SyncTable was introduced in 1.2, so skipping 1.1.

> ResultScanner is not closed in SyncTable#finishRemainingHashRanges()
> --------------------------------------------------------------------
>
>                 Key: HBASE-16090
>                 URL: https://issues.apache.org/jira/browse/HBASE-16090
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce, Operability, tooling
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 2.0.0, 1.4.0, 1.3.2, 1.2.7, 0.98.21
>
>         Attachments: 16090.v1.txt, 16090.v1.txt
>
>
> Here is related code:
> {code}
>           ResultScanner targetScanner = targetTable.getScanner(scan);
>           for (Result row : targetScanner) {
>             targetHasher.hashResult(row);          
>           }
>         } // else current batch ends exactly at split end row
> {code}
> targetScanner should be closed upon leaving the if block.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)