[ https://issues.apache.org/jira/browse/HDFS-16296?focusedWorklogId=676250&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-676250 ]
ASF GitHub Bot logged work on HDFS-16296: ----------------------------------------- Author: ASF GitHub Bot Created on: 04/Nov/21 08:10 Start Date: 04/Nov/21 08:10 Worklog Time Spent: 10m Work Description: tomscut commented on a change in pull request #3613: URL: https://github.com/apache/hadoop/pull/3613#discussion_r742610791 ########## File path: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcClient.java ########## @@ -134,6 +136,7 @@ /** Fairness manager to control handlers assigned per NS. */ private RouterRpcFairnessPolicyController routerRpcFairnessPolicyController; + private Map<String, AtomicLong> rejectedPermitsPerNs = new ConcurrentHashMap<>(); Review comment: For better performance, can we replace AtomicLong with LongAdder. Just a suggestion. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 676250) Time Spent: 3h 40m (was: 3.5h) > RBF: RouterRpcFairnessPolicyController add denied permits for each nameservice > ------------------------------------------------------------------------------ > > Key: HDFS-16296 > URL: https://issues.apache.org/jira/browse/HDFS-16296 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Janus Chow > Assignee: Janus Chow > Priority: Major > Labels: pull-request-available > Time Spent: 3h 40m > Remaining Estimate: 0h > > Currently RouterRpcFairnessPolicyController has a metric of > "getProxyOpPermitRejected" to show the total rejected invokes due to lack of > permits. > This ticket is to add the metrics for each nameservice to have a better view > of the load of each nameservice. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org