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

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

xinglin commented on PR #5804:
URL: https://github.com/apache/hadoop/pull/5804#issuecomment-1620620347

   mvn install command failed, due to some transient network connection issue.
   
   ```
   [ERROR] Plugin org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M1 or 
one of its dependencies could not be resolved: Failed to read artifact 
descriptor for org.apache.maven.plugins:maven-failsafe-plugin:jar:3.0.0-M1: 
Could not transfer artifact 
org.apache.maven.plugins:maven-failsafe-plugin:pom:3.0.0-M1 from/to central 
(https://repo.maven.apache.org/maven2): Connection reset -> [Help 1]
   ```
   
   Able to build locally.
   ```
    ~/p/h/branch-3.3 (HDFS-17042-branch-3.3)> mvn clean install -DskipTests
   [INFO] Apache Hadoop Client Packaging Invariants for Test . SUCCESS [  0.467 
s]
   [INFO] Apache Hadoop Client Packaging Integration Tests ... SUCCESS [  0.204 
s]
   [INFO] Apache Hadoop Distribution ......................... SUCCESS [  0.748 
s]
   [INFO] Apache Hadoop Client Modules ....................... SUCCESS [  0.029 
s]
   [INFO] Apache Hadoop Tencent COS Support .................. SUCCESS [  0.937 
s]
   [INFO] Apache Hadoop Cloud Storage ........................ SUCCESS [  0.521 
s]
   [INFO] Apache Hadoop Cloud Storage Project ................ SUCCESS [  0.029 
s]
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  17:44 min
   [INFO] Finished at: 2023-07-04T11:45:00-07:00
   ```




> Add rpcCallSuccesses and OverallRpcProcessingTime to RpcMetrics for Namenode
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-17042
>                 URL: https://issues.apache.org/jira/browse/HDFS-17042
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.4.0, 3.3.9
>            Reporter: Xing Lin
>            Assignee: Xing Lin
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>
> We'd like to add two new types of metrics to the existing NN 
> RpcMetrics/RpcDetailedMetrics. These two metrics can then be used as part of 
> SLA/SLO for the HDFS service.
>  * {_}RpcCallSuccesses{_}: it measures the number of RPC requests where they 
> are successfully processed by a NN (e.g., with a response with an RpcStatus 
> {_}RpcStatusProto.SUCCESS){_}{_}.{_} Then, together with {_}RpcQueueNumOps 
> ({_}which refers the total number of RPC requests{_}){_}, we can derive the 
> RpcErrorRate for our NN, as (RpcQueueNumOps - RpcCallSuccesses) / 
> RpcQueueNumOps. 
>  * OverallRpcProcessingTime for each RPC method: this metric measures the 
> overall RPC processing time for each RPC method at the NN. It covers the time 
> from when a request arrives at the NN to when a response is sent back. We are 
> already emitting processingTime for each RPC method today in 
> RpcDetailedMetrics. We want to extend it to emit overallRpcProcessingTime for 
> each RPC method, which includes enqueueTime, queueTime, processingTime, 
> responseTime, and handlerTime.
>  



--
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