Hello Will Berkeley, Mike Percy, Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/13509

to look at the new patch set (#2).

Change subject: KUDU-2830: [java] Improve RPC traces on RPC timeout
......................................................................

KUDU-2830: [java] Improve RPC traces on RPC timeout

Currently when RPCs timeout a full trace of all of the
sent RPCs is printed. Given many retries can occur
within the timeout period, this trace is often very
large and difficult to read and and understand.

This patch introduces a new trace summary format
for the output that prints the most relevant information
in a compact readable way. Along with readability, this
has the benefit of reducing log churn.

The trace sumary format will be used when the log level
is INFO or higher and the original full trace will be used
when the log level is DEBUG or lower.

The new format style is:
Trace Summary(trace-duration ms): Sent(n), Received(n), Delayed(n), 
MasterRefresh(n), AuthWait(n), Truncated: ?
 Sent: (server-uuid, [ rpc-method, count ], ...), ...
 Received: (server-uuid, [ rpc-status, count ], ...), ...
 Delayed: (server-uuid, [ rpc-method, count ], ...), …

Change-Id: I725e3e8f89f5a433a0ffcb4b0facf82d9ffc4840
---
M java/kudu-client/src/main/java/org/apache/kudu/client/KuduRpc.java
M java/kudu-client/src/main/java/org/apache/kudu/client/RpcTraceFrame.java
M java/kudu-client/src/test/java/org/apache/kudu/client/TestRpcTraces.java
3 files changed, 204 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/09/13509/2
--
To view, visit http://gerrit.cloudera.org:8080/13509
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I725e3e8f89f5a433a0ffcb4b0facf82d9ffc4840
Gerrit-Change-Number: 13509
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <granthe...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mpe...@apache.org>
Gerrit-Reviewer: Will Berkeley <wdberke...@gmail.com>

Reply via email to