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 D9D9018AC2 for ; Wed, 9 Mar 2016 19:49:41 +0000 (UTC) Received: (qmail 41529 invoked by uid 500); 9 Mar 2016 19:49:41 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 41460 invoked by uid 500); 9 Mar 2016 19:49:41 -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 41393 invoked by uid 99); 9 Mar 2016 19:49:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2016 19:49:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E65032C1F69 for ; Wed, 9 Mar 2016 19:49:40 +0000 (UTC) Date: Wed, 9 Mar 2016 19:49:40 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15378) Scanner cannot handle heartbeat message with no results 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-15378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187780#comment-15187780 ] Hudson commented on HBASE-15378: -------------------------------- SUCCESS: Integrated in HBase-1.2-IT #459 (See [https://builds.apache.org/job/HBase-1.2-IT/459/]) HBASE-15378 Scanner cannot handle heartbeat message with no results (tedyu: rev 6497b365c7734ed9984de561ec37292a3656e878) * hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestScannerHeartbeatMessages.java * hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java > Scanner cannot handle heartbeat message with no results > ------------------------------------------------------- > > Key: HBASE-15378 > URL: https://issues.apache.org/jira/browse/HBASE-15378 > Project: HBase > Issue Type: Bug > Components: dataloss, Scanners > Affects Versions: 1.2.0, 1.1.3 > Reporter: Phil Yang > Assignee: Phil Yang > Priority: Critical > Fix For: 2.0.0, 1.3.0, 1.2.1, 1.4.0 > > Attachments: HBASE-15378-v1.txt, HBASE-15378-v2.txt, HBASE-15378-v3.txt, HBASE-15378-v4.patch, HBASE-15378-v5.patch, HBASE-15378-v6.patch > > > When a RS scanner get a TIME_LIMIT_REACHED_MID_ROW state, they will stop scanning and send back what it has read to client and mark the message as a heartbeat message. If there is no cell has been read, it will be an empty response. > However, ClientScanner only handles the situation that the client gets an empty heartbeat and its cache is not empty. If the cache is empty too, it will be regarded as end-of-region and open a new scanner for next region. -- This message was sent by Atlassian JIRA (v6.3.4#6332)