From 6859d4e207b261a8afb09eed9c94c94a7d7425ad Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Fri, 25 Aug 2017 14:14:51 -0700 Subject: [PATCH] HBASE-18687 Add @since 2.0.0 to new classes; AMENDMENT --- .../org/apache/hadoop/hbase/backup/BackupClientFactory.java | 1 + .../java/org/apache/hadoop/hbase/filter/BinaryComparator.java | 1 + .../java/org/apache/hadoop/hbase/ipc/AbstractRpcClient.java | 1 + .../hadoop/hbase/security/AbstractHBaseSaslRpcClient.java | 1 + .../apache/hadoop/hbase/security/access/AccessControlUtil.java | 3 +++ 5 files changed, 7 insertions(+) diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupClientFactory.java b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupClientFactory.java index 21d73ccde4f..6db39f86e84 100644 --- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupClientFactory.java +++ b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupClientFactory.java @@ -25,6 +25,7 @@ import org.apache.hadoop.hbase.backup.impl.IncrementalTableBackupClient; import org.apache.hadoop.hbase.backup.impl.TableBackupClient; import org.apache.hadoop.hbase.client.Connection; +@InterfaceAudience.Private public class BackupClientFactory { public static TableBackupClient create (Connection conn, String backupId, BackupRequest request) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/BinaryComparator.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/BinaryComparator.java index 87b622cfafb..8a4aa342caa 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/BinaryComparator.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/BinaryComparator.java @@ -33,6 +33,7 @@ import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferE /** * A binary comparator which lexicographically compares against the specified * byte array using {@link org.apache.hadoop.hbase.util.Bytes#compareTo(byte[], byte[])}. + * @since 2.0.0 */ @InterfaceAudience.Public public class BinaryComparator extends org.apache.hadoop.hbase.filter.ByteArrayComparable { diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AbstractRpcClient.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AbstractRpcClient.java index 792550553ae..12c829efd8a 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AbstractRpcClient.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AbstractRpcClient.java @@ -89,6 +89,7 @@ import org.apache.hadoop.security.token.TokenSelector; * outside the lock in {@link Call} and {@link HBaseRpcController} which means the implementations * of the callbacks are free to hold any lock. * + * @since 2.0.0 */ @InterfaceAudience.Private public abstract class AbstractRpcClient implements RpcClient { diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/AbstractHBaseSaslRpcClient.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/AbstractHBaseSaslRpcClient.java index cd2f4cd5a60..de2c96ed1c8 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/AbstractHBaseSaslRpcClient.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/AbstractHBaseSaslRpcClient.java @@ -42,6 +42,7 @@ import org.apache.hadoop.security.token.TokenIdentifier; /** * A utility class that encapsulates SASL logic for RPC client. Copied from * org.apache.hadoop.security + * @since 2.0.0 */ @InterfaceAudience.Private public abstract class AbstractHBaseSaslRpcClient { diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlUtil.java index a99751ca9e9..fb10d1b2501 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlUtil.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlUtil.java @@ -37,6 +37,9 @@ import com.google.protobuf.ByteString; import com.google.protobuf.RpcController; import com.google.protobuf.ServiceException; +/** + * @since 2.0.0 + */ @InterfaceAudience.Private public class AccessControlUtil { private AccessControlUtil() {}