hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Zhang (Jira)" <j...@apache.org>
Subject [jira] [Created] (HDFS-14776) Log more detail for slow RPC
Date Sun, 25 Aug 2019 16:27:00 GMT
Chen Zhang created HDFS-14776:
---------------------------------

             Summary: Log more detail for slow RPC
                 Key: HDFS-14776
                 URL: https://issues.apache.org/jira/browse/HDFS-14776
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Chen Zhang


Current implementation only log process time
{code:java}
if ((rpcMetrics.getProcessingSampleCount() > minSampleSize) &&
    (processingTime > threeSigma)) {
  LOG.warn("Slow RPC : {} took {} {} to process from client {}",
      methodName, processingTime, RpcMetrics.TIMEUNIT, call);
  rpcMetrics.incrSlowRpc();
}
{code}
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)



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message