haiyang1987 commented on code in PR #6043:
URL: https://github.com/apache/hadoop/pull/6043#discussion_r1435940174


##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcMetrics.java:
##########
@@ -147,6 +147,8 @@ public static RpcMetrics create(Server server, 
Configuration conf) {
   MutableCounterLong rpcRequeueCalls;
   @Metric("Number of successful RPC calls")
   MutableCounterLong rpcCallSuccesses;
+  @Metric("Number of observer namenode rejected RPC calls")
+  MutableCounterLong rpcCallsRejectedByObserver;

Review Comment:
   Thanks @ZanderXu for your comment.
   @goiri @simbadzina What do you think? If necessary, I will modify it into an 
HDFS issue to achieve this requirement.
   thanks~



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to