HBASE-22063 Deprecated Admin.deleteSnapshot(byte[])

Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
xujunhong 2019-03-19 12:39:36 +00:00 committed by zhangduo
parent 659bc9ddfd
commit 556b98101c
1 changed files with 2 additions and 0 deletions

View File

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