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

Victor Li commented on HBASE-15242:
-----------------------------------

[~dmanning] Make sense to me. After examining the client code, I found that the 
client will report to callers with exception like `CallTimeoutException` for 
timed out calls, `RemoteWithExtrasException` for exceptions from server, or 
some others defined in the subdirectory 
`hbase-client/src/main/java/org/apache/hadoop/hbase/ipc`. I think we can make 
three counter metrics for timeout calls, server side exceptions and the rest of 
other exceptions.

It's a bit tricky for the case of retry exhausted, there are two exceptions, 
`RetriesExhaustedException` and `RetriesExhaustedWithDetailsException`, I guess 
one is from client side and another one is from server side. I don't know if 
they are already a part of the call timeout and remote exception.

> Client metrics for retries and timeouts
> ---------------------------------------
>
>                 Key: HBASE-15242
>                 URL: https://issues.apache.org/jira/browse/HBASE-15242
>             Project: HBase
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Mikhail Antonov
>            Assignee: Victor Li
>            Priority: Major
>
> Client metrics to see total/avg number or retries, retries exhaused and 
> timeouts.



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

Reply via email to