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 1b58af1  HBASE-25198 Remove deprecated RpcSchedulerFactory#create 
(#2561)
1b58af1 is described below

commit 1b58af1841d7d38b47871f9bd99b6b851fd528a9
Author: Jan Hentschel <[email protected]>
AuthorDate: Wed Oct 21 15:40:45 2020 +0200

    HBASE-25198 Remove deprecated RpcSchedulerFactory#create (#2561)
    
    Remove the deprecated RpcSchedulerFactory#create(Configuration,
    PriorityFunction) method from the interface and in all implementing
    classes.
    
    Signed-off-by: Duo Zhang <[email protected]>
---
 .../hadoop/hbase/regionserver/FifoRpcSchedulerFactory.java     |  6 ------
 .../apache/hadoop/hbase/regionserver/RpcSchedulerFactory.java  |  7 -------
 .../hadoop/hbase/regionserver/SimpleRpcSchedulerFactory.java   | 10 ----------
 3 files changed, 23 deletions(-)

diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/FifoRpcSchedulerFactory.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/FifoRpcSchedulerFactory.java
index c77de64..12896a2 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/FifoRpcSchedulerFactory.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/FifoRpcSchedulerFactory.java
@@ -38,10 +38,4 @@ public class FifoRpcSchedulerFactory implements 
RpcSchedulerFactory {
       HConstants.DEFAULT_REGION_SERVER_HANDLER_COUNT);
     return new FifoRpcScheduler(conf, handlerCount);
   }
-
-  @Deprecated
-  @Override
-  public RpcScheduler create(Configuration conf, PriorityFunction priority) {
-    return create(conf, priority, null);
-  }
 }
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RpcSchedulerFactory.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RpcSchedulerFactory.java
index dbd393d..d1d1cfc 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RpcSchedulerFactory.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RpcSchedulerFactory.java
@@ -35,11 +35,4 @@ public interface RpcSchedulerFactory {
    * Constructs a {@link org.apache.hadoop.hbase.ipc.RpcScheduler}.
    */
   RpcScheduler create(Configuration conf, PriorityFunction priority, Abortable 
server);
-
-  /**
-   * @deprecated since 1.0.0.
-   * @see <a 
href="https://issues.apache.org/jira/browse/HBASE-12028";>HBASE-12028</a>
-   */
-  @Deprecated
-  RpcScheduler create(Configuration conf, PriorityFunction priority);
 }
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SimpleRpcSchedulerFactory.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SimpleRpcSchedulerFactory.java
index 22a9da5..06b0043 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SimpleRpcSchedulerFactory.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SimpleRpcSchedulerFactory.java
@@ -32,16 +32,6 @@ import org.apache.hadoop.hbase.ipc.SimpleRpcScheduler;
 @InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, 
HBaseInterfaceAudience.PHOENIX})
 @InterfaceStability.Evolving
 public class SimpleRpcSchedulerFactory implements RpcSchedulerFactory {
-  /**
-   * @deprecated since 1.0.0.
-   * @see <a 
href="https://issues.apache.org/jira/browse/HBASE-12028";>HBASE-12028</a>
-   */
-  @Override
-  @Deprecated
-  public RpcScheduler create(Configuration conf, PriorityFunction priority) {
-         return create(conf, priority, null);
-  }
-
   @Override
   public RpcScheduler create(Configuration conf, PriorityFunction priority, 
Abortable server) {
     int handlerCount = conf.getInt(HConstants.REGION_SERVER_HANDLER_COUNT,

Reply via email to