You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2019/11/12 16:34:00 UTC

[jira] [Created] (KUDU-2996) Log trace when --rpc_duration_too_long_ms is exceeded

Tim Armstrong created KUDU-2996:
-----------------------------------

             Summary: Log trace when --rpc_duration_too_long_ms is exceeded
                 Key: KUDU-2996
                 URL: https://issues.apache.org/jira/browse/KUDU-2996
             Project: Kudu
          Issue Type: Improvement
          Components: rpc
            Reporter: Tim Armstrong
            Assignee: Tim Armstrong


According to a conversation with [~adar], the usual way to get a trace for a slow RPC in Kudu is to set a deadline.

In Impala we don't use RPC deadlines, so would like to get RPC traces when --rpc_duration_too_long_ms is exceeded. In this case there is already logging, but only metrics are included: https://github.com/cloudera/kudu/blob/978cf39/src/kudu/rpc/rpcz_store.cc#L268

We should log the trace in this case. Adar pointed out that we should not log a redundant trace if it was already logged for the RPC deadline.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)