HBASE-14769 Removing unused functions from HBaseAdmin. Removing redundant javadocs from HBaseAdmin as they will be automatically inhertited from Admin.java. (Apekshit)
Signed-off-by: stack <st...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/6adce675 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6adce675 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6adce675 Branch: refs/heads/hbase-12439 Commit: 6adce67572a502a067c74f78cf83683dda4d67e4 Parents: 4708257 Author: Apekshit(Appy) Sharma <a...@cloudera.com> Authored: Wed Nov 4 21:50:53 2015 -0800 Committer: stack <st...@apache.org> Committed: Mon Nov 30 20:44:11 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 | 25 +- .../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(+), 1439 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/6adce675/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.