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; /**