Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B9AF1871F for ; Wed, 18 Nov 2015 02:22:11 +0000 (UTC) Received: (qmail 20937 invoked by uid 500); 18 Nov 2015 02:22:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 20866 invoked by uid 500); 18 Nov 2015 02:22:11 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 20459 invoked by uid 99); 18 Nov 2015 02:22:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 02:22:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1F9BC2C1F6A for ; Wed, 18 Nov 2015 02:22:11 +0000 (UTC) Date: Wed, 18 Nov 2015 02:22:11 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HBASE-14827) Potential memory leak on REST server if state-full scanner is not deleted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15010048#comment-15010048 ] Andrew Purtell edited comment on HBASE-14827 at 11/18/15 2:21 AM: ------------------------------------------------------------------ bq. We should have deprecated them when stateless scanners were added, in retrospect. See HBASE-14828 was (Author: apurtell): bq. We should have deprecated them when stateless scanners were added, in retrospect. See HBASE-14828 for > Potential memory leak on REST server if state-full scanner is not deleted > ------------------------------------------------------------------------- > > Key: HBASE-14827 > URL: https://issues.apache.org/jira/browse/HBASE-14827 > Project: HBase > Issue Type: Bug > Reporter: Duo Xu > > Currently when people are using REST APIs to create state-full scanner, do scan with scanner id and delete scanner. However, if the clients never call delete scanner or if the clients are on cloud VMs and VMs get reboot before delete requests are sent, the resources associated with the scanner will never be released on the REST server, "hbase.client.scanner.timeout.period" will release the resources on region server side though. > So this will cause memory leak on REST server in some cases. -- This message was sent by Atlassian JIRA (v6.3.4#6332)