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 EA90510AC8 for ; Thu, 8 Jan 2015 03:33:33 +0000 (UTC) Received: (qmail 17541 invoked by uid 500); 8 Jan 2015 03:33:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 17480 invoked by uid 500); 8 Jan 2015 03:33:35 -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 17466 invoked by uid 99); 8 Jan 2015 03:33:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 03:33:35 +0000 Date: Thu, 8 Jan 2015 03:33:34 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12817) Data missing while scanning using PREFIX_TREE data block encoding 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-12817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268780#comment-14268780 ] Hadoop QA commented on HBASE-12817: ----------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12690711/HBASE-12817-0.98.patch against master branch at commit 645fbd7d87450b31b67b1e535cdb9c1cf50ffd16. ATTACHMENT ID: 12690711 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 4 new or modified tests. {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/12356//console This message is automatically generated. > Data missing while scanning using PREFIX_TREE data block encoding > ----------------------------------------------------------------- > > Key: HBASE-12817 > URL: https://issues.apache.org/jira/browse/HBASE-12817 > Project: HBase > Issue Type: Bug > Components: Scanners > Affects Versions: 0.98.9 > Reporter: zhangduo > Assignee: zhangduo > Fix For: 1.0.0, 2.0.0, 0.98.10, 1.1.0 > > Attachments: HBASE-12817-0.98.patch, HBASE-12817-branch-1.patch, HBASE-12817.patch, HBASE-12817_1.patch > > > write a testcase like this > {code} > @Test > public void test() throws IOException { > for (int i = 0; i < 100; i++) { > region.put(new Put(Bytes.toBytes("obj" + (2900 + i))).add(fam, qual1, Bytes.toBytes(i))); > } > region.put(new Put(Bytes.toBytes("obj299")).add(fam, qual1, Bytes.toBytes("whatever"))); > region.put(new Put(Bytes.toBytes("obj29")).add(fam, qual1, Bytes.toBytes("whatever"))); > region.put(new Put(Bytes.toBytes("obj2")).add(fam, qual1, Bytes.toBytes("whatever"))); > region.put(new Put(Bytes.toBytes("obj3")).add(fam, qual1, Bytes.toBytes("whatever"))); > region.flushcache(true); > Scan scan = new Scan(Bytes.toBytes("obj29995")); > RegionScanner scanner = region.getScanner(scan); > List cells = new ArrayList(); > assertFalse(scanner.next(cells)); > assertArrayEquals(Bytes.toBytes("obj3"), Result.create(cells).getRow()); > } > {code} > use obj29995 to scan should return obj3, but obj2990 is returned. > Seems a bug introduced by the fix of HBASE-11728. -- This message was sent by Atlassian JIRA (v6.3.4#6332)