hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkris...@apache.org
Subject hbase git commit: HBASE-16303 FilterList with MUST_PASS_ONE optimization (Ram)
Date Fri, 05 Aug 2016 05:33:21 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 f49d2fc7e -> 8570e7f8d


HBASE-16303 FilterList with MUST_PASS_ONE optimization (Ram)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8570e7f8
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8570e7f8
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8570e7f8

Branch: refs/heads/branch-1.3
Commit: 8570e7f8dbfb42bcb686953fbb4eadac860eeb21
Parents: f49d2fc
Author: Ramkrishna <ramkrishna.s.vasudevan@intel.com>
Authored: Fri Aug 5 10:58:02 2016 +0530
Committer: Ramkrishna <ramkrishna.s.vasudevan@intel.com>
Committed: Fri Aug 5 11:03:05 2016 +0530

----------------------------------------------------------------------
 .../test/java/org/apache/hadoop/hbase/filter/TestFilter.java    | 5 +++++
 .../java/org/apache/hadoop/hbase/filter/TestFilterList.java     | 3 +++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8570e7f8/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java
index f490b03..b8883bc 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java
@@ -315,6 +315,7 @@ public class TestFilter {
     verifyScan(s, expectedRows, expectedKeys);
   }
 
+  @Test
   public void testPrefixFilterWithReverseScan() throws Exception {
     // Grab rows from group one (half of total)
     long expectedRows = this.numRows / 2;
@@ -412,6 +413,7 @@ public class TestFilter {
 
   }
 
+  @Test
   public void testPageFilterWithReverseScan() throws Exception {
     // KVs in first 6 rows
     KeyValue[] expectedKVs = {
@@ -491,6 +493,7 @@ public class TestFilter {
     verifyScan(s, expectedRows, expectedKeys);
   }
 
+  @Test
   public void testWhileMatchFilterWithFilterRowWithReverseScan()
       throws Exception {
     final int pageSize = 4;
@@ -520,6 +523,7 @@ public class TestFilter {
         pageSize, scannerCounter);
   }
 
+  @Test
   public void testWhileMatchFilterWithFilterRowKeyWithReverseScan()
       throws Exception {
     Scan s = new Scan();
@@ -1767,6 +1771,7 @@ public class TestFilter {
         kvs.length, idx);
   }
 
+  @Test
   public void testColumnPaginationFilterColumnOffset() throws Exception {
     KeyValue [] expectedKVs = {
       // testRowOne-0

http://git-wip-us.apache.org/repos/asf/hbase/blob/8570e7f8/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterList.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterList.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterList.java
index e719a2a..6ddc422 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterList.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterList.java
@@ -261,6 +261,7 @@ public class TestFilterList {
    * we expect to get the same result as the 'prefix' only result.
    * @throws Exception
    */
+  @Test
   public void testFilterListTwoFiltersMustPassOne() throws Exception {
     byte[] r1 = Bytes.toBytes("Row1");
     byte[] r11 = Bytes.toBytes("Row11");
@@ -293,6 +294,7 @@ public class TestFilterList {
    * we expect to get the same result as the inclusive stop result.
    * @throws Exception
    */
+  @Test
   public void testFilterListWithInclusiveStopFilteMustPassOne() throws Exception {
     byte[] r1 = Bytes.toBytes("Row1");
     byte[] r11 = Bytes.toBytes("Row11");
@@ -352,6 +354,7 @@ public class TestFilterList {
    * Test filterKeyValue logic.
    * @throws Exception
    */
+  @Test
   public void testFilterKeyValue() throws Exception {
     Filter includeFilter = new FilterBase() {
       @Override


Mime
View raw message