hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16090) ResultScanner is not closed in SyncTable#finishRemainingHashRanges()
Date Wed, 19 Jul 2017 16:20:00 GMT

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

Hudson commented on HBASE-16090:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-1.3-JDK7 #200 (See [https://builds.apache.org/job/HBase-1.3-JDK7/200/])
HBASE-16090 ResultScanner is not closed in (busbey: rev 705a3aee946ed3dd9e899ea25b740d9c7cbf67cb)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SyncTable.java


> 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, 0.98.21, 1.3.2, 1.2.7
>
>         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)

Mime
View raw message