hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anoopsamj...@apache.org
Subject hbase git commit: HBASE-19045 Deprecate RegionObserver#postInstantiateDeleteTracker.
Date Fri, 20 Oct 2017 18:29:38 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 9b4caf4b1 -> 2962aa2d3


HBASE-19045 Deprecate RegionObserver#postInstantiateDeleteTracker.


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

Branch: refs/heads/branch-2
Commit: 2962aa2d3e2a8719d2841e6496564e5f1d060be8
Parents: 9b4caf4
Author: anoopsamjohn <anoopsamjohn@gmail.com>
Authored: Fri Oct 20 23:57:40 2017 +0530
Committer: anoopsamjohn <anoopsamjohn@gmail.com>
Committed: Fri Oct 20 23:59:07 2017 +0530

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/coprocessor/RegionObserver.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2962aa2d/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java
index d03a9be..076503f 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java
@@ -1016,11 +1016,14 @@ public interface RegionObserver {
    * Called after the ScanQueryMatcher creates ScanDeleteTracker. Implementing
    * this hook would help in creating customised DeleteTracker and returning
    * the newly created DeleteTracker
-   *
+   * <p>
+   * Warn: This is used by internal coprocessors. Should not be implemented by user coprocessors
    * @param ctx the environment provided by the region server
    * @param delTracker the deleteTracker that is created by the QueryMatcher
    * @return the Delete Tracker
+   * @deprecated Since 2.0 with out any replacement and will be removed in 3.0
    */
+  @Deprecated
   default DeleteTracker postInstantiateDeleteTracker(
       ObserverContext<RegionCoprocessorEnvironment> ctx, DeleteTracker delTracker)
       throws IOException {


Mime
View raw message