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 34E7017990 for ; Fri, 19 Jun 2015 10:10:01 +0000 (UTC) Received: (qmail 66184 invoked by uid 500); 19 Jun 2015 10:10:01 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 66128 invoked by uid 500); 19 Jun 2015 10:10: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 66106 invoked by uid 99); 19 Jun 2015 10:10:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2015 10:10:00 +0000 Date: Fri, 19 Jun 2015 10:10:00 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13933) DBE's seekBefore with tags corrupts the tag's offset information thus leading to incorrect 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-13933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14593282#comment-14593282 ] Anoop Sam John commented on HBASE-13933: ---------------------------------------- +1. Good find. {code} if (encoding == DataBlockEncoding.PREFIX_TREE) { 321 // TODO : Fix this 322 assertEquals(null, scanner.getKeyValue()); 323 } else { 324 assertEquals("k", toRowStr(scanner.getKeyValue())); 325 } {code} Now you don't need this in the test. Is this another bug with PREFIX_TREE? Have any Jira? > DBE's seekBefore with tags corrupts the tag's offset information thus leading to incorrect results > -------------------------------------------------------------------------------------------------- > > Key: HBASE-13933 > URL: https://issues.apache.org/jira/browse/HBASE-13933 > Project: HBase > Issue Type: Bug > Affects Versions: 1.0.0, 2.0.0, 1.0.1, 1.1.0, 0.98.13, 1.0.1.1, 1.1.0.1 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Priority: Critical > Fix For: 2.0.0, 0.98.14, 1.0.2, 1.2.0, 1.1.1, 1.3.0 > > Attachments: HBASE-13933.patch, HBASE-13933_2.patch, HBASE-13993_1.patch > > > The problem occurs with moveToPrevious() case and incase of tags we copy the previous pointer's tag info to the current because already decoded the tags. > Will check once again before I post other details. I have a test case to reproduce the problem. Found this while working with MultibyteBuffers and verified if this is present in trunk - it is in all branches where we have tags compression (I suppose) will verify -- This message was sent by Atlassian JIRA (v6.3.4#6332)