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 9DCF117FD7 for ; Mon, 18 May 2015 09:06:01 +0000 (UTC) Received: (qmail 11298 invoked by uid 500); 18 May 2015 09:06:01 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 11254 invoked by uid 500); 18 May 2015 09:06:01 -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 11242 invoked by uid 99); 18 May 2015 09:06:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2015 09:06:01 +0000 Date: Mon, 18 May 2015 09:06:01 +0000 (UTC) From: "Aleksandr Maksymenko (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-13704) Hbase throws OutOfOrderScannerNextException exception when MultiRowRangeFilter is used. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Aleksandr Maksymenko created HBASE-13704: -------------------------------------------- Summary: Hbase throws OutOfOrderScannerNextException exception when MultiRowRangeFilter is used. Key: HBASE-13704 URL: https://issues.apache.org/jira/browse/HBASE-13704 Project: HBase Issue Type: Bug Components: Client Affects Versions: 1.1.0 Reporter: Aleksandr Maksymenko When using filter MultiRowRangeFilter with ranges closed to each other that there are no rows between ranges, then OutOfOrderScannerNextException is throwed. In filterRowKey method when range is switched to the next range, currentReturnCode is set to SEEK_NEXT_USING_HINT (MultiRowRangeFilter: 118 in v1.1.0). But if new range is already contain this row, then we should include this row, not to seek for another one. Replacing line 118 to this code seems to be working fine: {code} if (range.contains(buffer, offset, length)) { currentReturnCode = ReturnCode.INCLUDE; } else { currentReturnCode = ReturnCode.SEEK_NEXT_USING_HINT; } {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)