Jean-Daniel Cryans has uploaded a new change for review. http://gerrit.cloudera.org:8080/5956
Change subject: [java client] Limit the message size in Status ...................................................................... [java client] Limit the message size in Status We've seen cases where RPC traces that are getting logged are MBs in size. Even if we limit the number of traces, the messages themselves can get quite big. This fix is only for the Java client since it's the only client with tracing at the moment. Ideally we'd limit this also in the server but it's still desirable to have the clients protect themselves. With the limits in place, we can have a maximum of 100 * 256 = 25KB of messages in a single RPC's trace. Change-Id: I5868da9ee6b4befd1dc863570b8e251369213ffa --- M java/kudu-client/src/main/java/org/apache/kudu/client/Status.java M java/kudu-client/src/test/java/org/apache/kudu/client/TestStatus.java 2 files changed, 52 insertions(+), 38 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/56/5956/1 -- To view, visit http://gerrit.cloudera.org:8080/5956 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5868da9ee6b4befd1dc863570b8e251369213ffa Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Jean-Daniel Cryans <jdcry...@apache.org>