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

ASF GitHub Bot commented on HADOOP-18885:
-----------------------------------------

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


##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcMetrics.java:
##########
@@ -363,6 +365,13 @@ public void incrRpcCallSuccesses() {
     rpcCallSuccesses.incr();
   }
 
+  /**
+   * Increments the Observer NameNode rejected RPC Calls Counter.
+   */
+  public void incrRcRejectedByObserverCalls() {

Review Comment:
   Can you expand `Rc` to `Rpc`. So `incrRpcRejectedByObserverCalls`.





> Add rpcRejectedByObserverCalls metric  to quantify the number of rejected 
> RPCs by Observer NameNode
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-18885
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18885
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Haiyang Hu
>            Assignee: Haiyang Hu
>            Priority: Major
>              Labels: pull-request-available
>
> When observer Node's serverStateId  is too far behind  clientStateId will 
> rejected client RPC request,
> mabe we need add rpcRejectedByObserverCalls metric to RpcMetrics to quantify 
> the number of rejected RPCs by Observer NameNode to help determine how well 
> the server.



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

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

Reply via email to