You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2019/03/21 14:28:26 UTC

[hbase] branch master updated: HBASE-22063 Deprecated Admin.deleteSnapshot(byte[])

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

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 556b981  HBASE-22063 Deprecated Admin.deleteSnapshot(byte[])
556b981 is described below

commit 556b98101c746b5824de271ab8a4bc09b80ba3b0
Author: xujunhong <xu...@xiaomi.com>
AuthorDate: Tue Mar 19 12:39:36 2019 +0000

    HBASE-22063 Deprecated Admin.deleteSnapshot(byte[])
    
    Signed-off-by: zhangduo <zh...@apache.org>
---
 hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
index 4da5f6f..82b259b 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
@@ -1514,7 +1514,9 @@ public interface Admin extends Abortable, Closeable {
    *
    * @param snapshotName name of the snapshot
    * @throws IOException if a remote or network exception occurs
+   * @deprecated Since 2.2.0. Will be removed in 3.0.0. Use {@link #deleteSnapshot(String)} instead.
    */
+  @Deprecated
   void deleteSnapshot(byte[] snapshotName) throws IOException;
 
   /**