HBASE-14769 Remove unused functions and duplicate javadocs from HBaseAdmin

Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/bebcc09f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bebcc09f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bebcc09f

Branch: refs/heads/hbase-12439
Commit: bebcc09fb392b3494131c792520406c001dbd511
Parents: 9511150
Author: stack <st...@apache.org>
Authored: Thu Dec 10 15:02:21 2015 -0800
Committer: stack <st...@apache.org>
Committed: Thu Dec 10 15:02:21 2015 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/client/Admin.java   |    8 +-
 .../apache/hadoop/hbase/client/HBaseAdmin.java  | 1417 +-----------------
 .../hbase/IntegrationTestDDLMasterFailover.java |    2 +-
 .../hbase/IntegrationTestIngestWithMOB.java     |    2 +-
 .../hadoop/hbase/HBaseTestingUtility.java       |   24 +-
 .../apache/hadoop/hbase/TestAcidGuarantees.java |    2 +-
 .../apache/hadoop/hbase/client/TestAdmin2.java  |    4 +-
 .../hbase/client/TestMetaWithReplicas.java      |    8 +-
 .../hbase/mob/TestExpiredMobFileCleaner.java    |    2 +-
 .../compactions/TestFIFOCompactionPolicy.java   |    8 +-
 hbase-shell/src/main/ruby/hbase/admin.rb        |   88 +-
 hbase-shell/src/main/ruby/hbase/security.rb     |    6 +-
 .../src/main/ruby/hbase/visibility_labels.rb    |    2 +-
 hbase-shell/src/test/ruby/hbase/admin_test.rb   |   14 +-
 src/main/asciidoc/_chapters/cp.adoc             |    2 +-
 src/main/asciidoc/_chapters/external_apis.adoc  |    4 +-
 src/main/asciidoc/_chapters/ops_mgt.adoc        |    2 +-
 src/main/asciidoc/_chapters/schema_design.adoc  |    2 +-
 18 files changed, 159 insertions(+), 1438 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/bebcc09f/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
----------------------------------------------------------------------
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 290ecb5..b06902a 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
@@ -487,7 +487,10 @@ public interface Admin extends Abortable, Closeable {
    * @return Pair indicating the number of regions updated Pair.getFirst() is 
the regions that are
    * yet to be updated Pair.getSecond() is the total number of regions of the 
table
    * @throws IOException if a remote or network exception occurs
+   * @deprecated Since 2.0.0. Will be removed in 3.0.0. Use {@link 
#getAlterStatus(TableName)}
+   *     instead.
    */
+  @Deprecated
   Pair<Integer, Integer> getAlterStatus(final byte[] tableName) throws 
IOException;
 
   /**
@@ -1181,9 +1184,8 @@ public interface Admin extends Abortable, Closeable {
       throws IOException, SnapshotCreationException, IllegalArgumentException;
 
   /**
-   * public void snapshot(final String snapshotName, Create a timestamp 
consistent snapshot for the
-   * given table. final byte[] tableName) throws IOException, Snapshots are 
considered unique based
-   * on <b>the name of the snapshot</b>. Attempts to take a snapshot with the 
same name (even a
+   * Create a timestamp consistent snapshot for the given table. Snapshots are 
considered unique
+   * based on <b>the name of the snapshot</b>. Attempts to take a snapshot 
with the same name (even
    * different type or with different parameters) will fail with a {@link 
SnapshotCreationException}
    * indicating the duplicate naming. Snapshot names follow the same naming 
constraints as tables in
    * HBase.

Reply via email to