Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BD29918545 for ; Sun, 3 May 2015 00:59:08 +0000 (UTC) Received: (qmail 65908 invoked by uid 500); 3 May 2015 00:59:06 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 65818 invoked by uid 500); 3 May 2015 00:59:06 -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 65806 invoked by uid 99); 3 May 2015 00:59:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 May 2015 00:59:06 +0000 Date: Sun, 3 May 2015 00:59:06 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-13333) Renew Scanner Lease without advancing the RegionScanner 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-13333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl resolved HBASE-13333. ----------------------------------- Resolution: Fixed Pushed -master patch to master, the 0.98 version to all other branches (1.0, 1.1, and 1.2) > Renew Scanner Lease without advancing the RegionScanner > ------------------------------------------------------- > > Key: HBASE-13333 > URL: https://issues.apache.org/jira/browse/HBASE-13333 > Project: HBase > Issue Type: Bug > Reporter: Lars Hofhansl > Assignee: Lars Hofhansl > Fix For: 2.0.0, 0.98.13, 1.0.2, 1.1.1 > > Attachments: 13333-0.98.txt, 13333-master.txt > > > We have a usecase (for Phoenix) where we want to let the server know that the client is still around. Like a client-side heartbeat. > Doing a full heartbeat is complicated, but we could add the ability to make scanner call with caching set to 0. The server already does the right thing (it renews the lease, but does not advance the scanner). > It looks like the client (ScannerCallable) also does the right thing. We cannot break ResultScanner before HBase 2.0, but we can add a renewLease() method to AbstractClientScaner. Phoenix (or any other caller) can then cast to ClientScanner and call that method to ensure we renew the lease on the server. > It would be a simple and fully backwards compatible change. [~giacomotaylor] > Comments? -- This message was sent by Atlassian JIRA (v6.3.4#6332)