You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/06/22 23:06:16 UTC

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

Ted Yu created HBASE-16090:
------------------------------

             Summary: ResultScanner is not closed in SyncTable#finishRemainingHashRanges()
                 Key: HBASE-16090
                 URL: https://issues.apache.org/jira/browse/HBASE-16090
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu
            Assignee: Ted Yu


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.3.4#6332)