You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/FederationRPCMBean.java
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -132,4 +132,10 @@ public interface FederationRPCMBean {
132
132
* @return Number of operations rejected due to lack of permits of each namespace.
133
133
*/
134
134
StringgetProxyOpPermitRejectedPerNs();
135
+
136
+
/**
137
+
* Get the number of operations accepted of each namespace.
138
+
* @return Number of operations accepted of each namespace.
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/FederationRPCMetrics.java
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -297,4 +297,9 @@ public long getProxyOpPermitRejected() {
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcClient.java
+33-13Lines changed: 33 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,7 @@ public class RouterRpcClient {
136
136
/** Fairness manager to control handlers assigned per NS. */
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/fairness/TestRouterHandlersFairness.java
+66-36Lines changed: 66 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,7 @@
41
41
importorg.slf4j.LoggerFactory;
42
42
43
43
/**
44
-
* Test the Router handlers fairness control rejects
45
-
* requests when the handlers are overloaded.
44
+
* Test the Router handlers fairness control rejects and accepts requests.
0 commit comments