Description
Current implementation only log process time
if ((rpcMetrics.getProcessingSampleCount() > minSampleSize) && (processingTime > threeSigma)) { LOG.warn("Slow RPC : {} took {} {} to process from client {}", methodName, processingTime, RpcMetrics.TIMEUNIT, call); rpcMetrics.incrSlowRpc(); }
We need to log more details to help us locate the problem (eg. how long it take to request lock, holding lock, or do other things)
Attachments
Attachments
Issue Links
- duplicates
-
HADOOP-16310 Log of a slow RPC request should contain the parameter of the request
- Resolved