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 D3916200B4C for ; Fri, 22 Jul 2016 15:00:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D27DC160A8F; Fri, 22 Jul 2016 13:00:24 +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 47E4B160A5A for ; Fri, 22 Jul 2016 15:00:24 +0200 (CEST) Received: (qmail 36417 invoked by uid 500); 22 Jul 2016 13:00:23 -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 36389 invoked by uid 99); 22 Jul 2016 13:00:23 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2016 13:00:23 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4FED72C0278 for ; Fri, 22 Jul 2016 13:00:23 +0000 (UTC) Date: Fri, 22 Jul 2016 13:00:23 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16266) Do not throw ScannerTimeoutException when catch UnknownScannerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 22 Jul 2016 13:00:25 -0000 [ https://issues.apache.org/jira/browse/HBASE-16266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15389448#comment-15389448 ] stack commented on HBASE-16266: ------------------------------- Patch looks nice [~yangzhe1991] What is an example scenario that makes the below? bq. The time blocked on ResultScanner.next() may much longer than scanner timeout. Thanks (could put it in release note -- this look likes a nice fix) > Do not throw ScannerTimeoutException when catch UnknownScannerException > ----------------------------------------------------------------------- > > Key: HBASE-16266 > URL: https://issues.apache.org/jira/browse/HBASE-16266 > Project: HBase > Issue Type: Improvement > Components: Client, Scanners > Affects Versions: 1.1.5, 1.2.2 > Reporter: Phil Yang > Assignee: Phil Yang > Attachments: HBASE-16266-v1.patch, HBASE-16266-v2.patch, HBASE-16266-v3.patch > > > Now in scanner we have heartbeat to prevent timeout. The time blocked on ResultScanner.next() may much longer than scanner timeout. So it is no need any more to throw ScannerTimeoutException when server throws UnknownScannerException, we can just reset the scanner like NotServingRegionException -- This message was sent by Atlassian JIRA (v6.3.4#6332)