hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anoopsamj...@apache.org
Subject [7/7] hbase git commit: HBASE-16626 User customized RegionScanner from 1.X is incompatible with 2.0.0's off-heap part. (Charlie Qiangeng Xu)
Date Thu, 15 Sep 2016 12:38:10 GMT
HBASE-16626 User customized RegionScanner from 1.X is incompatible with 2.0.0's off-heap part.
(Charlie Qiangeng Xu)


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

Branch: refs/heads/master
Commit: 56be3ac7c8d203710f844cd799f2fa3496f0515a
Parents: e6f8f6d
Author: anoopsamjohn <anoopsamjohn@gmail.com>
Authored: Thu Sep 15 18:07:43 2016 +0530
Committer: anoopsamjohn <anoopsamjohn@gmail.com>
Committed: Thu Sep 15 18:07:43 2016 +0530

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/regionserver/RegionScanner.java | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/56be3ac7/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionScanner.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionScanner.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionScanner.java
index 5b33db4..4f9732d 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionScanner.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionScanner.java
@@ -115,4 +115,13 @@ public interface RegionScanner extends InternalScanner, Shipper {
    */
   boolean nextRaw(List<Cell> result, ScannerContext scannerContext)
       throws IOException;
+
+  /**
+   * Empty implementation to provide compatibility for user migrating from 1.X
+   * @see <a href="https://issues.apache.org/jira/browse/HBASE-16626">HBASE-16626</a>
+   */
+  @Override
+  default void shipped() throws IOException {
+    // do nothing
+  }
 }


Mime
View raw message