-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 3.1.1, 2.7.7, 3.1.2
-
Fix Version/s: None
-
Component/s: rpc-server
-
Labels:None
-
Target Version/s:
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.
- is duplicated by
-
HADOOP-16531 Log more detail for slow RPC
-
- Resolved
-