Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 119BC200B41 for ; Thu, 23 Jun 2016 01:06:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 10607160A64; Wed, 22 Jun 2016 23:06:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 50175160A36 for ; Thu, 23 Jun 2016 01:06:22 +0200 (CEST) Received: (qmail 39568 invoked by uid 500); 22 Jun 2016 23:06:16 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 39545 invoked by uid 99); 22 Jun 2016 23:06:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2016 23:06:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 23FD82C1F5C for ; Wed, 22 Jun 2016 23:06:16 +0000 (UTC) Date: Wed, 22 Jun 2016 23:06:16 +0000 (UTC) From: "Ted Yu (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-16090) ResultScanner is not closed in SyncTable#finishRemainingHashRanges() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Jun 2016 23:06:23 -0000 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)