Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87185DC2F for ; Thu, 7 Feb 2013 00:37:20 +0000 (UTC) Received: (qmail 9258 invoked by uid 500); 7 Feb 2013 00:37:20 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 9221 invoked by uid 500); 7 Feb 2013 00:37:20 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 9211 invoked by uid 99); 7 Feb 2013 00:37:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 00:37:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 00:37:17 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id A8D782388A5E; Thu, 7 Feb 2013 00:36:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1443289 [6/6] - in /hbase/trunk: ./ hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/ hbase-common/src/main/java/org/apache/hadoop/hbase/util/ hbase-common/src/main/java/org/apache/hadoop/hbase/util/test/ hbase-common/src/mai... Date: Thu, 07 Feb 2013 00:36:27 -0000 To: commits@hbase.apache.org From: tedyu@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130207003632.A8D782388A5E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/io/encoding/TestEncodedSeekers.java URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/io/encoding/TestEncodedSeekers.java?rev=1443289&r1=1443288&r2=1443289&view=diff ============================================================================== --- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/io/encoding/TestEncodedSeekers.java (original) +++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/io/encoding/TestEncodedSeekers.java Thu Feb 7 00:36:24 2013 @@ -105,15 +105,15 @@ public class TestEncodedSeekers { //write the data, but leave some in the memstore doPuts(region); - + //verify correctness when memstore contains data doGets(region); - + //verify correctness again after compacting region.compactStores(); doGets(region); - + Map encodingCounts = cache.getEncodingCountsForTest(); // Ensure that compactions don't pollute the cache with unencoded blocks @@ -124,8 +124,8 @@ public class TestEncodedSeekers { assertEquals(encoding, encodingInCache); assertTrue(encodingCounts.get(encodingInCache) > 0); } - - + + private void doPuts(HRegion region) throws IOException{ LoadTestKVGenerator dataGenerator = new LoadTestKVGenerator(MIN_VALUE_SIZE, MAX_VALUE_SIZE); for (int i = 0; i < NUM_ROWS; ++i) { @@ -146,8 +146,8 @@ public class TestEncodedSeekers { } } } - - + + private void doGets(HRegion region) throws IOException{ for (int i = 0; i < NUM_ROWS; ++i) { final byte[] rowKey = LoadTestKVGenerator.md5PrefixedKey(i).getBytes(); Modified: hbase/trunk/pom.xml URL: http://svn.apache.org/viewvc/hbase/trunk/pom.xml?rev=1443289&r1=1443288&r2=1443289&view=diff ============================================================================== --- hbase/trunk/pom.xml (original) +++ hbase/trunk/pom.xml Thu Feb 7 00:36:24 2013 @@ -42,7 +42,7 @@ 0.95-SNAPSHOT HBase - Apache HBase™ is the &lt;a href="http://hadoop.apache.org"&rt;Hadoop</a&rt; database. Use it when you need + Apache HBase™ is the &lt;a href="http://hadoop.apache.org"&rt;Hadoop</a&rt; database. Use it when you need random, realtime read/write access to your Big Data. This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters of commodity hardware. @@ -56,6 +56,7 @@ hbase-common hbase-it hbase-examples + hbase-prefix-tree scm:svn:http://svn.apache.org/repos/asf/hbase/trunk @@ -979,6 +980,14 @@ test + org.apache.hbase + hbase-prefix-tree + ${project.version} + + runtime + + hbase-examples org.apache.hbase ${project.version}