From c14f362bf84fdd8dfdea8e8a7bffbe4bb133d10a Mon Sep 17 00:00:00 2001 From: xujunhong Date: Tue, 19 Mar 2019 12:39:36 +0000 Subject: [PATCH] HBASE-22063 Deprecated Admin.deleteSnapshot(byte[]) Signed-off-by: zhangduo --- .../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 55530938b40..6f8ee7a4d06 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 @@ -2340,7 +2340,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; /**