hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private
Date Tue, 26 Sep 2017 04:02:49 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 55f6e3346 -> c98aae190


HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals
as IA.Private

Signed-off-by: Michael Stack <stack@apache.org>


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

Branch: refs/heads/branch-1.1
Commit: c98aae190af5ad9f9e9aa07ccdb3737c837de8c8
Parents: 55f6e33
Author: Sean Busbey <busbey@apache.org>
Authored: Thu Sep 21 14:04:42 2017 -0500
Committer: Michael Stack <stack@apache.org>
Committed: Mon Sep 25 21:02:34 2017 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/c98aae19/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
index 3a8c158..58f4a62 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
@@ -49,7 +49,9 @@ public abstract class QuotaSettings {
   /**
    * Convert a QuotaSettings to a protocol buffer SetQuotaRequest. This is used internally
by the
    * Admin client to serialize the quota settings and send them to the master.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our API
    */
+  @Deprecated
   public static SetQuotaRequest buildSetQuotaRequestProto(final QuotaSettings settings) {
     SetQuotaRequest.Builder builder = SetQuotaRequest.newBuilder();
     if (settings.getUserName() != null) {
@@ -68,7 +70,9 @@ public abstract class QuotaSettings {
   /**
    * Called by toSetQuotaRequestProto() the subclass should implement this method to set
the
    * specific SetQuotaRequest properties.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our API
    */
+  @Deprecated
   protected abstract void setupSetQuotaRequest(SetQuotaRequest.Builder builder);
 
   protected String ownerToString() {


Mime
View raw message