You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2019/04/29 23:37:04 UTC

[hbase] branch branch-1.4 updated (2ba9ff1 -> 88db814)

This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a change to branch branch-1.4
in repository https://gitbox.apache.org/repos/asf/hbase.git.


    from 2ba9ff1  HBASE-22225 Profiler tab on Master/RS UI not working w/o comprehensive message
     new 7925b48  Update POMs and CHANGES.txt for 1.4.10RC0
     new 6db8e5f  Revert "HBASE-22215 HBASE-22144 Correct MultiRowRangeFilter to work with reverse scans"
     new 88db814  Updated CHANGES.txt for 1.4.10RC0

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 CHANGES.txt                                        |  71 +++++
 hbase-annotations/pom.xml                          |   2 +-
 hbase-archetypes/hbase-archetype-builder/pom.xml   |   2 +-
 hbase-archetypes/hbase-client-project/pom.xml      |   2 +-
 .../hbase-shaded-client-project/pom.xml            |   2 +-
 hbase-archetypes/pom.xml                           |   2 +-
 hbase-assembly/pom.xml                             |   2 +-
 hbase-checkstyle/pom.xml                           |   4 +-
 hbase-client/pom.xml                               |   2 +-
 .../hadoop/hbase/filter/MultiRowRangeFilter.java   | 345 +++++----------------
 hbase-common/pom.xml                               |   2 +-
 hbase-error-prone/pom.xml                          |   4 +-
 hbase-examples/pom.xml                             |   2 +-
 hbase-external-blockcache/pom.xml                  |   2 +-
 hbase-hadoop-compat/pom.xml                        |   2 +-
 hbase-hadoop2-compat/pom.xml                       |   2 +-
 hbase-it/pom.xml                                   |   2 +-
 hbase-metrics-api/pom.xml                          |   2 +-
 hbase-metrics/pom.xml                              |   2 +-
 hbase-prefix-tree/pom.xml                          |   2 +-
 hbase-procedure/pom.xml                            |   2 +-
 hbase-protocol/pom.xml                             |   2 +-
 hbase-resource-bundle/pom.xml                      |   2 +-
 hbase-rest/pom.xml                                 |   2 +-
 hbase-rsgroup/pom.xml                              |   2 +-
 hbase-server/pom.xml                               |   2 +-
 .../hbase/filter/TestMultiRowRangeFilter.java      | 136 +-------
 hbase-shaded/hbase-shaded-check-invariants/pom.xml |   2 +-
 hbase-shaded/hbase-shaded-client/pom.xml           |   2 +-
 hbase-shaded/hbase-shaded-server/pom.xml           |   2 +-
 hbase-shaded/pom.xml                               |   2 +-
 hbase-shell/pom.xml                                |   2 +-
 hbase-testing-util/pom.xml                         |   2 +-
 hbase-thrift/pom.xml                               |   2 +-
 pom.xml                                            |   2 +-
 35 files changed, 178 insertions(+), 442 deletions(-)


[hbase] 03/03: Updated CHANGES.txt for 1.4.10RC0

Posted by ap...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-1.4
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 88db81446a5c18e90df83f9a2b3f9df8e5f3a271
Author: Andrew Purtell <ap...@apache.org>
AuthorDate: Mon Apr 29 15:31:23 2019 -0700

    Updated CHANGES.txt for 1.4.10RC0
---
 CHANGES.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 591f8a1..0227063 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -10,7 +10,6 @@ Release Notes - HBase - Version 1.4.10 5/6/2019
     * [HBASE-21734] - Some optimization in FilterListWithOR
     * [HBASE-21748] - Port HBASE-21738 (Remove all the CLSM#size operation in our memstore because it's an quite time consuming.) to branch-1
     * [HBASE-22152] - Create a jenkins file for yetus to processing GitHub PR
-    * [HBASE-22215] - Backport MultiRowRangeFilter does not work with reverse scans
 
 ** Bug
     * [HBASE-20911] - correct Swtich/case indentation in formatter template for eclipse


[hbase] 01/03: Update POMs and CHANGES.txt for 1.4.10RC0

Posted by ap...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-1.4
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 7925b4812d222ec415cf993615e72f200a73d62d
Author: Andrew Purtell <ap...@apache.org>
AuthorDate: Mon Apr 29 14:48:42 2019 -0700

    Update POMs and CHANGES.txt for 1.4.10RC0
---
 CHANGES.txt                                        | 72 ++++++++++++++++++++++
 hbase-annotations/pom.xml                          |  2 +-
 hbase-archetypes/hbase-archetype-builder/pom.xml   |  2 +-
 hbase-archetypes/hbase-client-project/pom.xml      |  2 +-
 .../hbase-shaded-client-project/pom.xml            |  2 +-
 hbase-archetypes/pom.xml                           |  2 +-
 hbase-assembly/pom.xml                             |  2 +-
 hbase-checkstyle/pom.xml                           |  4 +-
 hbase-client/pom.xml                               |  2 +-
 hbase-common/pom.xml                               |  2 +-
 hbase-error-prone/pom.xml                          |  4 +-
 hbase-examples/pom.xml                             |  2 +-
 hbase-external-blockcache/pom.xml                  |  2 +-
 hbase-hadoop-compat/pom.xml                        |  2 +-
 hbase-hadoop2-compat/pom.xml                       |  2 +-
 hbase-it/pom.xml                                   |  2 +-
 hbase-metrics-api/pom.xml                          |  2 +-
 hbase-metrics/pom.xml                              |  2 +-
 hbase-prefix-tree/pom.xml                          |  2 +-
 hbase-procedure/pom.xml                            |  2 +-
 hbase-protocol/pom.xml                             |  2 +-
 hbase-resource-bundle/pom.xml                      |  2 +-
 hbase-rest/pom.xml                                 |  2 +-
 hbase-rsgroup/pom.xml                              |  2 +-
 hbase-server/pom.xml                               |  2 +-
 hbase-shaded/hbase-shaded-check-invariants/pom.xml |  2 +-
 hbase-shaded/hbase-shaded-client/pom.xml           |  2 +-
 hbase-shaded/hbase-shaded-server/pom.xml           |  2 +-
 hbase-shaded/pom.xml                               |  2 +-
 hbase-shell/pom.xml                                |  2 +-
 hbase-testing-util/pom.xml                         |  2 +-
 hbase-thrift/pom.xml                               |  2 +-
 pom.xml                                            |  2 +-
 33 files changed, 106 insertions(+), 34 deletions(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 7ad28d4..591f8a1 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,77 @@
 HBase Change Log
 
+Release Notes - HBase - Version 1.4.10 5/6/2019
+
+** Sub-task
+    * [HBASE-21374] - Backport HBASE-21342 to branch-1
+    * [HBASE-21561] - Backport HBASE-21413 (Empty meta log doesn't get split when restart whole cluster) to branch-1
+    * [HBASE-21632] - Backport to branch-1 HBASE-21620 Problem in scan query when using more than one column prefix filter in some cases.
+    * [HBASE-21711] - Remove references to git.apache.org/hbase.git
+    * [HBASE-21734] - Some optimization in FilterListWithOR
+    * [HBASE-21748] - Port HBASE-21738 (Remove all the CLSM#size operation in our memstore because it's an quite time consuming.) to branch-1
+    * [HBASE-22152] - Create a jenkins file for yetus to processing GitHub PR
+    * [HBASE-22215] - Backport MultiRowRangeFilter does not work with reverse scans
+
+** Bug
+    * [HBASE-20911] - correct Swtich/case indentation in formatter template for eclipse
+    * [HBASE-20912] - Add import order config in dev support for eclipse
+    * [HBASE-21048] - Get LogLevel is not working from console in secure environment
+    * [HBASE-21135] - Build fails on windows as it fails to parse windows path during license check
+    * [HBASE-21196] - HTableMultiplexer clears the meta cache after every put operation
+    * [HBASE-21475] - Put mutation (having TTL set) added via co-processor is retrieved even after TTL expires
+    * [HBASE-21492] - CellCodec Written To WAL Before It's Verified
+    * [HBASE-21547] - Precommit uses master flaky list for other branches
+    * [HBASE-21553] - schedLock not released in MasterProcedureScheduler
+    * [HBASE-21582] - If call HBaseAdmin#snapshotAsync but forget call isSnapshotFinished, then SnapshotHFileCleaner will skip to run every time
+    * [HBASE-21592] - quota.addGetResult(r)  throw  NPE
+    * [HBASE-21618] - Scan with the same startRow(inclusive=true) and stopRow(inclusive=false) returns one result
+    * [HBASE-21766] - TestSimpleRpcScheduler is flaky (branch-1)
+    * [HBASE-21781] - list_deadservers elapsed time is incorrect
+    * [HBASE-21800] - RegionServer aborted due to NPE from MetaTableMetrics coprocessor
+    * [HBASE-21915] - FileLink$FileLinkInputStream doesn't implement CanUnbuffer
+    * [HBASE-21959] - CompactionTool should close the store it uses for compacting files, in order to properly archive compacted files.
+    * [HBASE-21991] - Fix MetaMetrics issues - [Race condition, Faulty remove logic], few improvements
+    * [HBASE-22045] - Mutable range histogram reports incorrect outliers
+    * [HBASE-22058] - upgrade thrift dependency to 0.9.3.1 on  branches 1.4, 1.3 and 1.2
+    * [HBASE-22062] - Backport HBASE-20917 addendum to branch-1 & branch-1.4
+    * [HBASE-22067] - Fix log line in StochasticLoadBalancer when balancer is an ill-fit for cluster size
+    * [HBASE-22070] - Checking restoreDir in RestoreSnapshotHelper 
+    * [HBASE-22106] - Log cause of the failure when coprocessor specification parsing fails.
+    * [HBASE-22125] - Fix more instances in make_rc.sh where we need -Dhttps.protocols=TLSv1.2
+    * [HBASE-22212] - [1.x] Backport missing filter improvements
+    * [HBASE-22235] - OperationStatus.{SUCCESS|FAILURE|NOT_RUN} are not visible to 3rd party coprocessors
+    * [HBASE-22270] - master's jmx.clusterRequests could be negative in branch-1
+    * [HBASE-22310] - checkAndMutate used an incorrect row to check the condition
+
+** New Feature
+    * [HBASE-21815] - Make isTrackingMetrics and getMetrics of ScannerContext public
+    * [HBASE-21926] - Profiler servlet
+
+** Improvement
+    * [HBASE-20047] - AuthenticationTokenIdentifier should provide a toString
+    * [HBASE-20586] - SyncTable tool: Add support for cross-realm remote clusters
+    * [HBASE-20672] - New metrics ReadRequestRate and WriteRequestRate
+    * [HBASE-20858] - port HBASE-20695 to branch-1
+    * [HBASE-21520] - TestMultiColumnScanner cost long time when using ROWCOL bloom type
+    * [HBASE-21567] - Allow overriding configs starting up the shell
+    * [HBASE-21590] - Optimize trySkipToNextColumn in StoreScanner a bit
+    * [HBASE-21645] - Perform sanity check and disallow table creation/modification with region replication < 1
+    * [HBASE-21818] - Incorrect list item in javadoc
+    * [HBASE-22219] - Backport HBASE-19049 to branch-1 to prevent DIRKRB-613 
+    * [HBASE-22225] - Profiler tab on Master/RS UI not working w/o comprehensive message
+    * [HBASE-22291] - Fix recovery of recovered.edits files under root dir
+
+** Test
+    * [HBASE-21963] - Add a script for building and verifying release candidate
+
+** Task
+    * [HBASE-21685] - Change repository urls to Gitbox
+    * [HBASE-21687] - Update Findbugs Maven Plugin to 3.0.4 to work with Maven 3.6.0+ [branches-1]
+    * [HBASE-21853] - update copyright notices to 2019
+    * [HBASE-21884] - Fix box/unbox findbugs warning in secure bulk load
+    * [HBASE-22020] - upgrade to yetus 0.9.0
+
+
 Release Notes - HBase - Version 1.4.9 12/7/2018
 
 ** Sub-task
diff --git a/hbase-annotations/pom.xml b/hbase-annotations/pom.xml
index a10c444..2961ca1 100644
--- a/hbase-annotations/pom.xml
+++ b/hbase-annotations/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml b/hbase-archetypes/hbase-archetype-builder/pom.xml
index d886d71..43149f2 100644
--- a/hbase-archetypes/hbase-archetype-builder/pom.xml
+++ b/hbase-archetypes/hbase-archetype-builder/pom.xml
@@ -25,7 +25,7 @@
   <parent>
     <artifactId>hbase-archetypes</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-archetypes/hbase-client-project/pom.xml b/hbase-archetypes/hbase-client-project/pom.xml
index e83010a..863ebb6 100644
--- a/hbase-archetypes/hbase-client-project/pom.xml
+++ b/hbase-archetypes/hbase-client-project/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <artifactId>hbase-archetypes</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-client-project</artifactId>
diff --git a/hbase-archetypes/hbase-shaded-client-project/pom.xml b/hbase-archetypes/hbase-shaded-client-project/pom.xml
index 71362d2..88ecfc6 100644
--- a/hbase-archetypes/hbase-shaded-client-project/pom.xml
+++ b/hbase-archetypes/hbase-shaded-client-project/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <artifactId>hbase-archetypes</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-shaded-client-project</artifactId>
diff --git a/hbase-archetypes/pom.xml b/hbase-archetypes/pom.xml
index 4be324c..fbdd6f4 100644
--- a/hbase-archetypes/pom.xml
+++ b/hbase-archetypes/pom.xml
@@ -24,7 +24,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml
index 6110557..87be92f 100644
--- a/hbase-assembly/pom.xml
+++ b/hbase-assembly/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-assembly</artifactId>
diff --git a/hbase-checkstyle/pom.xml b/hbase-checkstyle/pom.xml
index d4d9e12..33913bd 100644
--- a/hbase-checkstyle/pom.xml
+++ b/hbase-checkstyle/pom.xml
@@ -24,14 +24,14 @@
 <modelVersion>4.0.0</modelVersion>
 <groupId>org.apache.hbase</groupId>
 <artifactId>hbase-checkstyle</artifactId>
-<version>1.4.10-SNAPSHOT</version>
+<version>1.4.10</version>
 <name>Apache HBase - Checkstyle</name>
 <description>Module to hold Checkstyle properties for HBase.</description>
 
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml
index 1770408..fb2ebfb 100644
--- a/hbase-client/pom.xml
+++ b/hbase-client/pom.xml
@@ -24,7 +24,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml
index c01b8b1..4a9e57d 100644
--- a/hbase-common/pom.xml
+++ b/hbase-common/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-error-prone/pom.xml b/hbase-error-prone/pom.xml
index d7ddf03..22d1ed5 100644
--- a/hbase-error-prone/pom.xml
+++ b/hbase-error-prone/pom.xml
@@ -23,11 +23,11 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-error-prone</artifactId>
-  <version>1.4.10-SNAPSHOT</version>
+  <version>1.4.10</version>
   <name>Apache HBase - Error Prone Rules</name>
   <description>Module to hold error prone custom rules for HBase.</description>
 
diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml
index 4042b5b..3f135e3 100644
--- a/hbase-examples/pom.xml
+++ b/hbase-examples/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-examples</artifactId>
diff --git a/hbase-external-blockcache/pom.xml b/hbase-external-blockcache/pom.xml
index e3d9e4a..43a9247 100644
--- a/hbase-external-blockcache/pom.xml
+++ b/hbase-external-blockcache/pom.xml
@@ -25,7 +25,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-external-blockcache</artifactId>
diff --git a/hbase-hadoop-compat/pom.xml b/hbase-hadoop-compat/pom.xml
index 877286f..acdc6ce 100644
--- a/hbase-hadoop-compat/pom.xml
+++ b/hbase-hadoop-compat/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>hbase</artifactId>
         <groupId>org.apache.hbase</groupId>
-        <version>1.4.10-SNAPSHOT</version>
+        <version>1.4.10</version>
         <relativePath>..</relativePath>
     </parent>
 
diff --git a/hbase-hadoop2-compat/pom.xml b/hbase-hadoop2-compat/pom.xml
index ad66b1b..bb0ee07 100644
--- a/hbase-hadoop2-compat/pom.xml
+++ b/hbase-hadoop2-compat/pom.xml
@@ -21,7 +21,7 @@ limitations under the License.
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml
index 1cd6b2b..3472c39 100644
--- a/hbase-it/pom.xml
+++ b/hbase-it/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-metrics-api/pom.xml b/hbase-metrics-api/pom.xml
index dc11c65..9f58b99 100644
--- a/hbase-metrics-api/pom.xml
+++ b/hbase-metrics-api/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-metrics/pom.xml b/hbase-metrics/pom.xml
index b18e896..7a9b232 100644
--- a/hbase-metrics/pom.xml
+++ b/hbase-metrics/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-prefix-tree/pom.xml b/hbase-prefix-tree/pom.xml
index 8622ddd..4b3460b 100644
--- a/hbase-prefix-tree/pom.xml
+++ b/hbase-prefix-tree/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-procedure/pom.xml b/hbase-procedure/pom.xml
index 7b849a3..5b28a9d 100644
--- a/hbase-procedure/pom.xml
+++ b/hbase-procedure/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-protocol/pom.xml b/hbase-protocol/pom.xml
index f6a8925..b97964b 100644
--- a/hbase-protocol/pom.xml
+++ b/hbase-protocol/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>hbase</artifactId>
         <groupId>org.apache.hbase</groupId>
-        <version>1.4.10-SNAPSHOT</version>
+        <version>1.4.10</version>
         <relativePath>..</relativePath>
     </parent>
 
diff --git a/hbase-resource-bundle/pom.xml b/hbase-resource-bundle/pom.xml
index be31150..a4f11be 100644
--- a/hbase-resource-bundle/pom.xml
+++ b/hbase-resource-bundle/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml
index ae7e08c..ce3837a 100644
--- a/hbase-rest/pom.xml
+++ b/hbase-rest/pom.xml
@@ -25,7 +25,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-rest</artifactId>
diff --git a/hbase-rsgroup/pom.xml b/hbase-rsgroup/pom.xml
index 5dc4ec5..aa0c57f 100644
--- a/hbase-rsgroup/pom.xml
+++ b/hbase-rsgroup/pom.xml
@@ -24,7 +24,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
 
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index a8cce1a..10e7413 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-server</artifactId>
diff --git a/hbase-shaded/hbase-shaded-check-invariants/pom.xml b/hbase-shaded/hbase-shaded-check-invariants/pom.xml
index da69d20..b953f0d 100644
--- a/hbase-shaded/hbase-shaded-check-invariants/pom.xml
+++ b/hbase-shaded/hbase-shaded-check-invariants/pom.xml
@@ -16,7 +16,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>../..</relativePath>
   </parent>
   <artifactId>hbase-shaded-check-invariants</artifactId>
diff --git a/hbase-shaded/hbase-shaded-client/pom.xml b/hbase-shaded/hbase-shaded-client/pom.xml
index 93f56ea..1bb0db8 100644
--- a/hbase-shaded/hbase-shaded-client/pom.xml
+++ b/hbase-shaded/hbase-shaded-client/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <artifactId>hbase-shaded</artifactId>
         <groupId>org.apache.hbase</groupId>
-        <version>1.4.10-SNAPSHOT</version>
+        <version>1.4.10</version>
         <relativePath>..</relativePath>
     </parent>
     <artifactId>hbase-shaded-client</artifactId>
diff --git a/hbase-shaded/hbase-shaded-server/pom.xml b/hbase-shaded/hbase-shaded-server/pom.xml
index f3e1c55..72b2a1b 100644
--- a/hbase-shaded/hbase-shaded-server/pom.xml
+++ b/hbase-shaded/hbase-shaded-server/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <artifactId>hbase-shaded</artifactId>
         <groupId>org.apache.hbase</groupId>
-        <version>1.4.10-SNAPSHOT</version>
+        <version>1.4.10</version>
         <relativePath>..</relativePath>
     </parent>
     <artifactId>hbase-shaded-server</artifactId>
diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml
index 2e73dfd..2a33fd4 100644
--- a/hbase-shaded/pom.xml
+++ b/hbase-shaded/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>hbase</artifactId>
         <groupId>org.apache.hbase</groupId>
-        <version>1.4.10-SNAPSHOT</version>
+        <version>1.4.10</version>
         <relativePath>..</relativePath>
     </parent>
     <artifactId>hbase-shaded</artifactId>
diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml
index e5c5cee..dc5766f 100644
--- a/hbase-shell/pom.xml
+++ b/hbase-shell/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-shell</artifactId>
diff --git a/hbase-testing-util/pom.xml b/hbase-testing-util/pom.xml
index 4f8f3d8..36991e4 100644
--- a/hbase-testing-util/pom.xml
+++ b/hbase-testing-util/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>hbase</artifactId>
         <groupId>org.apache.hbase</groupId>
-        <version>1.4.10-SNAPSHOT</version>
+        <version>1.4.10</version>
         <relativePath>..</relativePath>
     </parent>
     <artifactId>hbase-testing-util</artifactId>
diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml
index 7388f15..b1a986c 100644
--- a/hbase-thrift/pom.xml
+++ b/hbase-thrift/pom.xml
@@ -23,7 +23,7 @@
   <parent>
     <artifactId>hbase</artifactId>
     <groupId>org.apache.hbase</groupId>
-    <version>1.4.10-SNAPSHOT</version>
+    <version>1.4.10</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>hbase-thrift</artifactId>
diff --git a/pom.xml b/pom.xml
index 62418ec..61da029 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,7 +39,7 @@
   <groupId>org.apache.hbase</groupId>
   <artifactId>hbase</artifactId>
   <packaging>pom</packaging>
-  <version>1.4.10-SNAPSHOT</version>
+  <version>1.4.10</version>
   <name>Apache HBase</name>
   <description>
     Apache HBase™ is the Hadoop database. Use it when you need


[hbase] 02/03: Revert "HBASE-22215 HBASE-22144 Correct MultiRowRangeFilter to work with reverse scans"

Posted by ap...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-1.4
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 6db8e5f7065750d52c1d8779da76544109655727
Author: Andrew Purtell <ap...@apache.org>
AuthorDate: Mon Apr 29 15:30:21 2019 -0700

    Revert "HBASE-22215 HBASE-22144 Correct MultiRowRangeFilter to work with reverse scans"
    
    This reverts commit 175b09ed160dfc18f7f3793f506e1623b5613a2d.
    
    Reverted due to binary compatibility concerns related to a Public/Evolving interface.
    See comments on HBASE-22215 for detail.
---
 .../hadoop/hbase/filter/MultiRowRangeFilter.java   | 345 +++++----------------
 .../hbase/filter/TestMultiRowRangeFilter.java      | 136 +-------
 2 files changed, 73 insertions(+), 408 deletions(-)

diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.java
index c002606..f5715b9 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.java
@@ -54,14 +54,14 @@ import com.google.protobuf.InvalidProtocolBufferException;
 @InterfaceStability.Evolving
 public class MultiRowRangeFilter extends FilterBase {
 
-  private static final int ROW_BEFORE_FIRST_RANGE = -1;
-
-  private final List<RowRange> rangeList;
-  private final RangeIteration ranges;
+  private List<RowRange> rangeList;
 
+  private static final int ROW_BEFORE_FIRST_RANGE = -1;
+  private boolean EXCLUSIVE = false;
   private boolean done = false;
+  private boolean initialized = false;
   private int index;
-  private BasicRowRange range;
+  private RowRange range;
   private ReturnCode currentReturnCode;
 
   /**
@@ -71,15 +71,7 @@ public class MultiRowRangeFilter extends FilterBase {
    *           <code>RowRange</code> is invalid
    */
   public MultiRowRangeFilter(List<RowRange> list) throws IOException {
-    // We don't use rangeList anywhere else, but keeping it lets us pay a little
-    // memory to avoid touching the serialization logic.
-    this.rangeList = Collections.unmodifiableList(sortAndMerge(list));
-    this.ranges = new RangeIteration(rangeList);
-  }
-
-  public List<RowRange> getRowRanges() {
-    // Used by hbase-rest
-    return this.rangeList;
+    this.rangeList = sortAndMerge(list);
   }
 
   @Override
@@ -87,45 +79,42 @@ public class MultiRowRangeFilter extends FilterBase {
     return done;
   }
 
+  public List<RowRange> getRowRanges() {
+    return this.rangeList;
+  }
+
   @Override
   public boolean filterRowKey(byte[] buffer, int offset, int length) {
-    // N.b. We can only do this after we're iterating over records. If we try to do
-    // it before, the Scan (and this filter) may not yet be fully initialized. This is a
-    // wart on Filter and something that'd be nice to clean up (like CP's in HBase2.0)
-    if (!ranges.isInitialized()) {
-      ranges.initialize(isReversed());
-    }
-
     // If it is the first time of running, calculate the current range index for
     // the row key. If index is out of bound which happens when the start row
     // user sets is after the largest stop row of the ranges, stop the scan.
     // If row key is after the current range, find the next range and update index.
-    if (!ranges.hasFoundFirstRange() || !range.contains(buffer, offset, length)) {
+    if (!initialized || !range.contains(buffer, offset, length)) {
       byte[] rowkey = new byte[length];
       System.arraycopy(buffer, offset, rowkey, 0, length);
-      index = ranges.getNextRangeIndex(rowkey);
-      if (ranges.isIterationComplete(index)) {
+      index = getNextRangeIndex(rowkey);
+      if (index >= rangeList.size()) {
         done = true;
         currentReturnCode = ReturnCode.NEXT_ROW;
         return false;
       }
       if(index != ROW_BEFORE_FIRST_RANGE) {
-        range = ranges.get(index);
+        range = rangeList.get(index);
       } else {
-        range = ranges.get(0);
+        range = rangeList.get(0);
       }
-      if (ranges.isExclusive()) {
-        ranges.resetExclusive();
+      if (EXCLUSIVE) {
+        EXCLUSIVE = false;
         currentReturnCode = ReturnCode.NEXT_ROW;
         return false;
       }
-      if (!ranges.hasFoundFirstRange()) {
+      if (!initialized) {
         if(index != ROW_BEFORE_FIRST_RANGE) {
           currentReturnCode = ReturnCode.INCLUDE;
         } else {
           currentReturnCode = ReturnCode.SEEK_NEXT_USING_HINT;
         }
-        ranges.setFoundFirstRange();
+        initialized = true;
       } else {
         if (range.contains(buffer, offset, length)) {
           currentReturnCode = ReturnCode.INCLUDE;
@@ -147,9 +136,7 @@ public class MultiRowRangeFilter extends FilterBase {
   @Override
   public Cell getNextCellHint(Cell currentKV) {
     // skip to the next range's start row
-    // #getComparisonData lets us avoid the `if (reversed)` branch
-    byte[] comparisonData = range.getComparisonData();
-    return KeyValueUtil.createFirstOnRow(comparisonData);
+    return KeyValueUtil.createFirstOnRow(range.startRow);
   }
 
   /**
@@ -232,6 +219,37 @@ public class MultiRowRangeFilter extends FilterBase {
   }
 
   /**
+   * calculate the position where the row key in the ranges list.
+   *
+   * @param rowKey the row key to calculate
+   * @return index the position of the row key
+   */
+  private int getNextRangeIndex(byte[] rowKey) {
+    RowRange temp = new RowRange(rowKey, true, null, true);
+    int index = Collections.binarySearch(rangeList, temp);
+    if (index < 0) {
+      int insertionPosition = -index - 1;
+      // check if the row key in the range before the insertion position
+      if (insertionPosition != 0 && rangeList.get(insertionPosition - 1).contains(rowKey)) {
+        return insertionPosition - 1;
+      }
+      // check if the row key is before the first range
+      if (insertionPosition == 0 && !rangeList.get(insertionPosition).contains(rowKey)) {
+        return ROW_BEFORE_FIRST_RANGE;
+      }
+      if (!initialized) {
+        initialized = true;
+      }
+      return insertionPosition;
+    }
+    // the row key equals one of the start keys, and the the range exclude the start key
+    if(rangeList.get(index).startRowInclusive == false) {
+      EXCLUSIVE = true;
+    }
+    return index;
+  }
+
+  /**
    * sort the ranges and if the ranges with overlap, then merge them.
    *
    * @param ranges the list of ranges to sort and merge.
@@ -401,20 +419,22 @@ public class MultiRowRangeFilter extends FilterBase {
     throw new IllegalArgumentException(sb.toString());
   }
 
-  private static abstract class BasicRowRange implements Comparable<BasicRowRange> {
-    protected byte[] startRow;
-    protected boolean startRowInclusive = true;
-    protected byte[] stopRow;
-    protected boolean stopRowInclusive = false;
+  @InterfaceAudience.Public
+  @InterfaceStability.Evolving
+  public static class RowRange implements Comparable<RowRange> {
+    private byte[] startRow;
+    private boolean startRowInclusive = true;
+    private byte[] stopRow;
+    private boolean stopRowInclusive = false;
 
-    public BasicRowRange() {
+    public RowRange() {
     }
     /**
      * If the startRow is empty or null, set it to HConstants.EMPTY_BYTE_ARRAY, means begin at the
      * start row of the table. If the stopRow is empty or null, set it to
      * HConstants.EMPTY_BYTE_ARRAY, means end of the last row of table.
      */
-    public BasicRowRange(String startRow, boolean startRowInclusive, String stopRow,
+    public RowRange(String startRow, boolean startRowInclusive, String stopRow,
         boolean stopRowInclusive) {
       this((startRow == null || startRow.isEmpty()) ? HConstants.EMPTY_BYTE_ARRAY :
         Bytes.toBytes(startRow), startRowInclusive,
@@ -422,7 +442,7 @@ public class MultiRowRangeFilter extends FilterBase {
         Bytes.toBytes(stopRow), stopRowInclusive);
     }
 
-    public BasicRowRange(byte[] startRow,  boolean startRowInclusive, byte[] stopRow,
+    public RowRange(byte[] startRow,  boolean startRowInclusive, byte[] stopRow,
         boolean stopRowInclusive) {
       this.startRow = (startRow == null) ? HConstants.EMPTY_BYTE_ARRAY : startRow;
       this.startRowInclusive = startRowInclusive;
@@ -480,6 +500,13 @@ public class MultiRowRangeFilter extends FilterBase {
       }
     }
 
+    @Override
+    @edu.umd.cs.findbugs.annotations.SuppressWarnings(value="EQ_COMPARETO_USE_OBJECT_EQUALS",
+      justification="This compareTo is not of this Object, but of referenced RowRange")
+    public int compareTo(RowRange other) {
+      return Bytes.compareTo(this.startRow, other.startRow);
+    }
+
     public boolean isValid() {
       return Bytes.equals(startRow, HConstants.EMPTY_BYTE_ARRAY)
           || Bytes.equals(stopRow, HConstants.EMPTY_BYTE_ARRAY)
@@ -489,13 +516,13 @@ public class MultiRowRangeFilter extends FilterBase {
 
     @Override
     public boolean equals(Object obj){
-      if (!(obj instanceof BasicRowRange)) {
+      if (!(obj instanceof RowRange)) {
         return false;
       }
       if (this == obj) {
         return true;
       }
-      BasicRowRange rr = (BasicRowRange) obj;
+      RowRange rr = (RowRange) obj;
       return Bytes.equals(this.stopRow, rr.getStopRow()) &&
           Bytes.equals(this.startRow, this.getStartRow()) &&
           this.startRowInclusive == rr.isStartRowInclusive() &&
@@ -509,236 +536,6 @@ public class MultiRowRangeFilter extends FilterBase {
           this.startRowInclusive,
           this.stopRowInclusive);
     }
-
-    /**
-     * Returns the data to be used to compare {@code this} to another object.
-     */
-    public abstract byte[] getComparisonData();
-
-    /**
-     * Returns whether the bounding row used for binary-search is inclusive or not.
-     *
-     * For forward scans, we would check the starRow, but we would check the stopRow for
-     * the reverse scan case.
-     */
-    public abstract boolean isSearchRowInclusive();
-
-    @Override
-    public int compareTo(BasicRowRange other) {
-      byte[] left;
-      byte[] right;
-      if (isAscendingOrder()) {
-        left = this.getComparisonData();
-        right = other.getComparisonData();
-      } else {
-        left = other.getComparisonData();
-        right = this.getComparisonData();
-      }
-      return Bytes.compareTo(left, right);
-    }
-
-    public abstract boolean isAscendingOrder();
-  }
-
-  /**
-   * Internal RowRange that reverses the sort-order to handle reverse scans.
-   */
-  @InterfaceAudience.Private
-  private static class ReversedRowRange extends BasicRowRange {
-    public ReversedRowRange(byte[] startRow,  boolean startRowInclusive, byte[] stopRow,
-        boolean stopRowInclusive) {
-      super(startRow, startRowInclusive, stopRow, stopRowInclusive);
-    }
-
-    @Override
-    public byte[] getComparisonData() {
-      return this.stopRow;
-    }
-
-    @Override
-    public boolean isSearchRowInclusive() {
-      return this.stopRowInclusive;
-    }
-
-    @Override
-    public boolean isAscendingOrder() {
-      return false;
-    }
-  }
-
-  @InterfaceAudience.Public
-  @InterfaceStability.Evolving
-  public static class RowRange extends BasicRowRange {
-    public RowRange() {
-    }
-    /**
-     * If the startRow is empty or null, set it to HConstants.EMPTY_BYTE_ARRAY, means begin at the
-     * start row of the table. If the stopRow is empty or null, set it to
-     * HConstants.EMPTY_BYTE_ARRAY, means end of the last row of table.
-     */
-    public RowRange(String startRow, boolean startRowInclusive, String stopRow,
-        boolean stopRowInclusive) {
-      super(startRow, startRowInclusive, stopRow, stopRowInclusive);
-    }
-
-    public RowRange(byte[] startRow,  boolean startRowInclusive, byte[] stopRow,
-        boolean stopRowInclusive) {
-      super(startRow, startRowInclusive, stopRow, stopRowInclusive);
-    }
-
-    @Override
-    public byte[] getComparisonData() {
-      return startRow;
-    }
-
-    @Override
-    public boolean isSearchRowInclusive() {
-      return startRowInclusive;
-    }
-
-    @Override
-    public boolean isAscendingOrder() {
-      return true;
-    }
-  }
-
-  /**
-   * Abstraction over the ranges of rows to return from this filter, regardless of forward or
-   * reverse scans being used. This Filter can use this class, agnostic of iteration direction,
-   * as the same algorithm can be applied in both cases.
-   */
-  @InterfaceAudience.Private
-  private static class RangeIteration {
-    private boolean exclusive = false;
-    private boolean initialized = false;
-    private boolean foundFirstRange = false;
-    private boolean reversed = false;
-    private final List<RowRange> sortedAndMergedRanges;
-    private List<? extends BasicRowRange> ranges;
-
-    public RangeIteration(List<RowRange> sortedAndMergedRanges) {
-      this.sortedAndMergedRanges = sortedAndMergedRanges;
-    }
-
-    void initialize(boolean reversed) {
-      // Avoid double initialization
-      assert !this.initialized;
-      this.reversed = reversed;
-      if (reversed) {
-        // If we are doing a reverse scan, we can reverse the ranges (both the elements in
-        // the list as well as their start/stop key), and use the same algorithm.
-        this.ranges = flipAndReverseRanges(sortedAndMergedRanges);
-      } else {
-        this.ranges = sortedAndMergedRanges;
-      }
-      this.initialized = true;
-    }
-
-    /**
-     * Rebuilds the sorted ranges (by startKey) into an equivalent sorted list of ranges, only by
-     * stopKey instead. Descending order and the ReversedRowRange compareTo implementation make
-     * sure that we can use Collections.binarySearch().
-     */
-    static List<ReversedRowRange> flipAndReverseRanges(List<RowRange> ranges) {
-      List<ReversedRowRange> flippedRanges = new ArrayList<>(ranges.size());
-      for (int i = ranges.size() - 1; i >= 0; i--) {
-        RowRange origRange = ranges.get(i);
-        ReversedRowRange newRowRange = new ReversedRowRange(
-            origRange.startRow, origRange.startRowInclusive, origRange.stopRow,
-            origRange.isStopRowInclusive());
-        flippedRanges.add(newRowRange);
-      }
-      return flippedRanges;
-    }
-
-    /**
-     * Calculates the position where the given rowkey fits in the ranges list.
-     *
-     * @param rowKey the row key to calculate
-     * @return index the position of the row key
-     */
-    public int getNextRangeIndex(byte[] rowKey) {
-      BasicRowRange temp;
-      if (reversed) {
-        temp = new ReversedRowRange(null, true, rowKey, true);
-      } else {
-        temp = new RowRange(rowKey, true, null, true);
-      }
-      // Because we make sure that `ranges` has the correct natural ordering (given it containing
-      // RowRange or ReverseRowRange objects). This keeps us from having to have two different
-      // implementations below.
-      final int index = Collections.binarySearch(ranges, temp);
-      if (index < 0) {
-        int insertionPosition = -index - 1;
-        // check if the row key in the range before the insertion position
-        if (insertionPosition != 0 && ranges.get(insertionPosition - 1).contains(rowKey)) {
-          return insertionPosition - 1;
-        }
-        // check if the row key is before the first range
-        if (insertionPosition == 0 && !ranges.get(insertionPosition).contains(rowKey)) {
-          return ROW_BEFORE_FIRST_RANGE;
-        }
-        if (!foundFirstRange) {
-          foundFirstRange = true;
-        }
-        return insertionPosition;
-      }
-      // the row key equals one of the start keys, and the the range exclude the start key
-      if(ranges.get(index).isSearchRowInclusive() == false) {
-        exclusive = true;
-      }
-      return index;
-    }
-
-    /**
-     * Sets {@link #foundFirstRange} to {@code true}, indicating that we found a matching row range.
-     */
-    public void setFoundFirstRange() {
-      this.foundFirstRange = true;
-    }
-
-    /**
-     * Gets the RowRange at the given offset.
-     */
-    @SuppressWarnings("unchecked")
-    public <T extends BasicRowRange> T get(int i) {
-      return (T) ranges.get(i);
-    }
-
-    /**
-     * Returns true if the first matching row range was found.
-     */
-    public boolean hasFoundFirstRange() {
-      return foundFirstRange;
-    }
-
-    /**
-     * Returns true if the current range's key is exclusive
-     */
-    public boolean isExclusive() {
-      return exclusive;
-    }
-
-    /**
-     * Resets the exclusive flag.
-     */
-    public void resetExclusive() {
-      exclusive = false;
-    }
-
-    /**
-     * Returns true if this class has been initialized by calling {@link #initialize(boolean)}.
-     */
-    public boolean isInitialized() {
-      return initialized;
-    }
-
-    /**
-     * Returns true if we exhausted searching all row ranges.
-     */
-    public boolean isIterationComplete(int index) {
-      return index >= ranges.size();
-    }
   }
 
   @Override
@@ -748,6 +545,6 @@ public class MultiRowRangeFilter extends FilterBase {
 
   @Override
   public int hashCode() {
-    return Objects.hash(this.ranges);
+    return Objects.hash(this.rangeList);
   }
 }
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestMultiRowRangeFilter.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestMultiRowRangeFilter.java
index b525271..9ba5ec3 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestMultiRowRangeFilter.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestMultiRowRangeFilter.java
@@ -486,134 +486,6 @@ public class TestMultiRowRangeFilter {
     ht.close();
   }
 
-  @Test
-  public void testReverseMultiRowRangeFilterWithinTable() throws IOException {
-    tableName = Bytes.toBytes("testReverseMultiRowRangeFilterWithinTable");
-    HTable ht = TEST_UTIL.createTable(tableName, family);
-    generateRows(numRows, ht, family, qf, value);
-
-    Scan scan = new Scan();
-    scan.setReversed(true);
-    List<RowRange> ranges = Arrays.asList(
-        new RowRange(Bytes.toBytes(20), true, Bytes.toBytes(30), true),
-        new RowRange(Bytes.toBytes(50), true, Bytes.toBytes(60), true)
-    );
-    MultiRowRangeFilter filter = new MultiRowRangeFilter(ranges);
-    scan.setFilter(filter);
-
-    List<Integer> expectedResults = new ArrayList<>();
-    for (int i = 60; i >= 50; i--) {
-      expectedResults.add(i);
-    }
-    for (int i = 30; i >= 20; i--) {
-      expectedResults.add(i);
-    }
-
-    List<Cell> results = getResults(ht, scan);
-    List<Integer> actualResults = new ArrayList<>();
-    StringBuilder sb = new StringBuilder();
-    for (Cell result : results) {
-      int observedValue = Bytes.toInt(
-          result.getRowArray(), result.getRowOffset(), result.getRowLength());
-      actualResults.add(observedValue);
-      if (sb.length() > 0) {
-        sb.append(", ");
-      }
-      sb.append(observedValue);
-    }
-    assertEquals("Saw results: " + sb.toString(), 22, results.size());
-  }
-
-  @Test
-  public void testReverseMultiRowRangeFilterIncludingMaxRow() throws IOException {
-    tableName = Bytes.toBytes("testReverseMultiRowRangeFilterIncludingMaxRow");
-    HTable ht = TEST_UTIL.createTable(tableName, family);
-    for (String rowkey : Arrays.asList("a", "b", "c", "d", "e", "f", "g", "h")) {
-      byte[] row = Bytes.toBytes(rowkey);
-      Put p = new Put(row);
-      p.addColumn(family, qf, value);
-      ht.put(p);
-    }
-    TEST_UTIL.flush();
-
-    Scan scan = new Scan();
-    scan.setReversed(true);
-    List<RowRange> ranges = Arrays.asList(
-        new RowRange(Bytes.toBytes("b"), true, Bytes.toBytes("c"), true),
-        new RowRange(Bytes.toBytes("f"), true, Bytes.toBytes("h"), true)
-    );
-    MultiRowRangeFilter filter = new MultiRowRangeFilter(ranges);
-    scan.setFilter(filter);
-
-    List<String> expected = Arrays.asList("h", "g", "f", "c", "b");
-    List<String> actual = new ArrayList<>();
-    for (Cell cell : getResults(ht, scan)) {
-      actual.add(Bytes.toString(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()));
-    }
-
-    assertEquals(expected, actual);
-  }
-
-  @Test
-  public void testReverseMultiRowRangeFilterIncludingMinRow() throws IOException {
-    tableName = Bytes.toBytes("testReverseMultiRowRangeFilterIncludingMinRow");
-    HTable ht = TEST_UTIL.createTable(tableName, family);
-    for (String rowkey : Arrays.asList("a", "b", "c", "d", "e", "f", "g", "h")) {
-      byte[] row = Bytes.toBytes(rowkey);
-      Put p = new Put(row);
-      p.addColumn(family, qf, value);
-      ht.put(p);
-    }
-    TEST_UTIL.flush();
-
-    Scan scan = new Scan();
-    scan.setReversed(true);
-    List<RowRange> ranges = Arrays.asList(
-        new RowRange(Bytes.toBytes("a"), true, Bytes.toBytes("c"), true),
-        new RowRange(Bytes.toBytes("f"), true, Bytes.toBytes("g"), true)
-    );
-    MultiRowRangeFilter filter = new MultiRowRangeFilter(ranges);
-    scan.setFilter(filter);
-
-    List<String> expected = Arrays.asList("g", "f", "c", "b", "a");
-    List<String> actual = new ArrayList<>();
-    for (Cell cell : getResults(ht, scan)) {
-      actual.add(Bytes.toString(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()));
-    }
-
-    assertEquals(expected, actual);
-  }
-
-  @Test
-  public void testReverseMultiRowRangeFilterIncludingMinAndMaxRow() throws IOException {
-    tableName = Bytes.toBytes("testReverseMultiRowRangeFilterIncludingMinAndMaxRow");
-    HTable ht = TEST_UTIL.createTable(tableName, family);
-    for (String rowkey : Arrays.asList("a", "b", "c", "d", "e", "f", "g", "h")) {
-      byte[] row = Bytes.toBytes(rowkey);
-      Put p = new Put(row);
-      p.addColumn(family, qf, value);
-      ht.put(p);
-    }
-    TEST_UTIL.flush();
-
-    Scan scan = new Scan();
-    scan.setReversed(true);
-    List<RowRange> ranges = Arrays.asList(
-        new RowRange(Bytes.toBytes("a"), true, Bytes.toBytes("c"), true),
-        new RowRange(Bytes.toBytes("f"), true, Bytes.toBytes("h"), true)
-    );
-    MultiRowRangeFilter filter = new MultiRowRangeFilter(ranges);
-    scan.setFilter(filter);
-
-    List<String> expected = Arrays.asList("h", "g", "f", "c", "b", "a");
-    List<String> actual = new ArrayList<>();
-    for (Cell cell : getResults(ht, scan)) {
-      actual.add(Bytes.toString(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()));
-    }
-
-    assertEquals(expected, actual);
-  }
-
   private void generateRows(int numberOfRows, HTable ht, byte[] family, byte[] qf, byte[] value)
       throws IOException {
     for (int i = 0; i < numberOfRows; i++) {
@@ -646,7 +518,7 @@ public class TestMultiRowRangeFilter {
     return kvList;
   }
 
-  private List<Cell> getResults(HTable ht, Scan scan) throws IOException {
+  private int getResultsSize(HTable ht, Scan scan) throws IOException {
     ResultScanner scanner = ht.getScanner(scan);
     List<Cell> results = new ArrayList<Cell>();
     Result r;
@@ -656,10 +528,6 @@ public class TestMultiRowRangeFilter {
       }
     }
     scanner.close();
-    return results;
-  }
-
-  private int getResultsSize(HTable ht, Scan scan) throws IOException {
-    return getResults(ht, scan).size();
+    return results.size();
   }
 }