Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
3.1.1, 2.7.7, 3.1.2
-
None
-
None
Description
Now, the log of a slow RPC request just contains the methodName,processingTime and client. Code is here:
if ((rpcMetrics.getProcessingSampleCount() > minSampleSize) && (processingTime > threeSigma)) { if(LOG.isWarnEnabled()) { String client = CurCall.get().toString(); LOG.warn( "Slow RPC : " + methodName + " took " + processingTime + " milliseconds to process from client " + client); } rpcMetrics.incrSlowRpc(); }
It is not enough to analyze why the RPC request is slow.
The parameter of the request is a very important thing, and need to be logged.
Attachments
Issue Links
- is duplicated by
-
HADOOP-16531 Log more detail for slow RPC
- Resolved