[ 
https://issues.apache.org/jira/browse/HDFS-17713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936110#comment-17936110
 ] 

ASF GitHub Bot commented on HDFS-17713:
---------------------------------------

hfutatzhanghb commented on code in PR #7304:
URL: https://github.com/apache/hadoop/pull/7304#discussion_r1998157556


##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/async/RouterAsyncRpcClient.java:
##########
@@ -589,8 +662,6 @@ public <T extends RemoteLocationContext, R> 
List<RemoteResult<T, R>> invokeSingl
   public Object invokeSingle(final String nsId, RemoteMethod method)
       throws IOException {
     UserGroupInformation ugi = RouterRpcServer.getRemoteUser();
-    RouterRpcFairnessPolicyController controller = 
getRouterRpcFairnessPolicyController();
-    acquirePermit(nsId, ugi, method, controller);
     asyncTry(() -> {
       boolean isObserverRead = isObserverReadEligible(nsId, 
method.getMethod());

Review Comment:
   fixed, no need asyncTry here.





> [ARR] Throtting asynchronous calls for each nameservice
> -------------------------------------------------------
>
>                 Key: HDFS-17713
>                 URL: https://issues.apache.org/jira/browse/HDFS-17713
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: rbf
>            Reporter: farmmamba
>            Assignee: farmmamba
>            Priority: Major
>              Labels: pull-request-available
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to