You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by op...@apache.org on 2019/03/11 11:45:53 UTC

[hbase] 07/24: HBASE-22000 Deprecated isTableAvailable with splitKeys

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

openinx pushed a commit to branch HBASE-21879
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 06ca2ce59429392c448228eb8f7936b03a03cee1
Author: johnhomsea <51...@qq.com>
AuthorDate: Wed Mar 6 22:55:44 2019 +0800

    HBASE-22000 Deprecated isTableAvailable with splitKeys
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
---
 .../src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java        | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java
index 7284ae4..94dc1e0 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java
@@ -219,7 +219,9 @@ public interface AsyncAdmin {
    * {@link CompletableFuture}.
    * @param tableName name of table to check
    * @param splitKeys keys to check if the table has been created with all split keys
+   * @deprecated Since 2.2.0. Will be removed in 3.0.0. Use {@link #isTableAvailable(TableName)}
    */
+  @Deprecated
   CompletableFuture<Boolean> isTableAvailable(TableName tableName, byte[][] splitKeys);
 
   /**