You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2020/10/02 13:30:27 UTC

[hbase] branch master updated: HBASE-25120 Remove the deprecated annotation for MetaTableAccessor.getScanForTableName (#2493)

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e5166d  HBASE-25120 Remove the deprecated annotation for MetaTableAccessor.getScanForTableName (#2493)
5e5166d is described below

commit 5e5166dc40a7e29de7a1c139f170b90903b191ce
Author: SteNicholas <pr...@163.com>
AuthorDate: Fri Oct 2 21:27:01 2020 +0800

    HBASE-25120 Remove the deprecated annotation for MetaTableAccessor.getScanForTableName (#2493)
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
---
 .../src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java        | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hbase-balancer/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java b/hbase-balancer/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
index c7f7ec1..b9ec944 100644
--- a/hbase-balancer/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
+++ b/hbase-balancer/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
@@ -319,9 +319,7 @@ public final class MetaTableAccessor {
    * and scan until it hits a new table since that requires parsing the HRI to get the table name.
    * @param tableName bytes of table's name
    * @return configured Scan object
-   * @deprecated This is internal so please remove it when we get a chance.
    */
-  @Deprecated
   public static Scan getScanForTableName(Connection connection, TableName tableName) {
     // Start key is just the table name with delimiters
     byte[] startKey = ClientMetaTableAccessor.getTableStartRowForMeta(tableName, QueryType.REGION);